Package org.jboss.jca.adapters.jdbc.jdk8
Class CachedCallableStatementJDK8
- java.lang.Object
-
- org.jboss.jca.adapters.jdbc.JBossWrapper
-
- org.jboss.jca.adapters.jdbc.CachedPreparedStatement
-
- org.jboss.jca.adapters.jdbc.CachedCallableStatement
-
- org.jboss.jca.adapters.jdbc.jdk8.CachedCallableStatementJDK8
-
- All Implemented Interfaces:
Serializable,AutoCloseable,CallableStatement,PreparedStatement,Statement,Wrapper
public class CachedCallableStatementJDK8 extends CachedCallableStatement
CachedCallableStatementJDK8- Author:
- Jesper Pedersen
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.jboss.jca.adapters.jdbc.CachedPreparedStatement
log
-
Fields inherited from class org.jboss.jca.adapters.jdbc.JBossWrapper
bundle
-
Fields inherited from interface java.sql.Statement
CLOSE_ALL_RESULTS, CLOSE_CURRENT_RESULT, EXECUTE_FAILED, KEEP_CURRENT_RESULT, NO_GENERATED_KEYS, RETURN_GENERATED_KEYS, SUCCESS_NO_INFO
-
-
Constructor Summary
Constructors Constructor Description CachedCallableStatementJDK8(CallableStatement cs)Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long[]executeLargeBatch()longexecuteLargeUpdate()longexecuteLargeUpdate(String sql)longexecuteLargeUpdate(String sql, int autoGeneratedKeys)longexecuteLargeUpdate(String sql, int[] columnIndexes)longexecuteLargeUpdate(String sql, String[] columnNames)longgetLargeMaxRows()longgetLargeUpdateCount()voidregisterOutParameter(int parameterIndex, SQLType sqlType)voidregisterOutParameter(int parameterIndex, SQLType sqlType, int scale)voidregisterOutParameter(int parameterIndex, SQLType sqlType, String typeName)voidregisterOutParameter(String parameterName, SQLType sqlType)voidregisterOutParameter(String parameterName, SQLType sqlType, int scale)voidregisterOutParameter(String parameterName, SQLType sqlType, String typeName)voidsetLargeMaxRows(long max)voidsetObject(int parameterIndex, Object x, SQLType targetSqlType)voidsetObject(int parameterIndex, Object x, SQLType targetSqlType, int scaleOrLength)voidsetObject(String parameterName, Object x, SQLType targetSqlType)voidsetObject(String parameterName, Object x, SQLType targetSqlType, int scaleOrLength)-
Methods inherited from class org.jboss.jca.adapters.jdbc.CachedCallableStatement
closeOnCompletion, getArray, getArray, getBigDecimal, getBigDecimal, getBigDecimal, getBlob, getBlob, getBoolean, getBoolean, getByte, getByte, getBytes, getBytes, getCharacterStream, getCharacterStream, getClob, getClob, getDate, getDate, getDate, getDate, getDouble, getDouble, getFloat, getFloat, getInt, getInt, getLong, getLong, getNCharacterStream, getNCharacterStream, getNClob, getNClob, getNString, getNString, getObject, getObject, getObject, getObject, getObject, getObject, getRef, getRef, getRowId, getRowId, getShort, getShort, getSQLXML, getSQLXML, getString, getString, getTime, getTime, getTime, getTime, getTimestamp, getTimestamp, getTimestamp, getTimestamp, getUnderlyingCallableStatement, getURL, getURL, getWrappedObject, isClosed, isCloseOnCompletion, isPoolable, registerOutParameter, registerOutParameter, registerOutParameter, registerOutParameter, registerOutParameter, registerOutParameter, setAsciiStream, setAsciiStream, setAsciiStream, setAsciiStream, setAsciiStream, setBigDecimal, setBinaryStream, setBinaryStream, setBinaryStream, setBinaryStream, setBinaryStream, setBlob, setBlob, setBlob, setBlob, setBlob, setBoolean, setByte, setBytes, setCharacterStream, setCharacterStream, setCharacterStream, setCharacterStream, setCharacterStream, setClob, setClob, setClob, setClob, setClob, setDate, setDate, setDouble, setFloat, setInt, setLong, setNCharacterStream, setNCharacterStream, setNCharacterStream, setNCharacterStream, setNClob, setNClob, setNClob, setNClob, setNClob, setNClob, setNString, setNString, setNull, setNull, setObject, setObject, setObject, setPoolable, setRowId, setRowId, setShort, setSQLXML, setSQLXML, setString, setTime, setTime, setTimestamp, setTimestamp, setURL, wasNull
-
Methods inherited from class org.jboss.jca.adapters.jdbc.CachedPreparedStatement
addBatch, addBatch, agedOut, cancel, clearBatch, clearParameters, clearWarnings, close, execute, execute, execute, execute, execute, executeBatch, executeQuery, executeQuery, executeUpdate, executeUpdate, executeUpdate, executeUpdate, executeUpdate, getConnection, getFetchDirection, getFetchSize, getGeneratedKeys, getMaxFieldSize, getMaxRows, getMetaData, getMoreResults, getMoreResults, getParameterMetaData, getQueryTimeout, getResultSet, getResultSetConcurrency, getResultSetHoldability, getResultSetType, getUnderlyingPreparedStatement, getUpdateCount, getWarnings, inUse, isInUse, setArray, setAsciiStream, setBigDecimal, setBinaryStream, setBlob, setBoolean, setByte, setBytes, setCharacterStream, setClob, setCursorName, setDate, setDate, setDouble, setEscapeProcessing, setFetchDirection, setFetchSize, setFloat, setInt, setLong, setMaxFieldSize, setMaxRows, setNull, setNull, setObject, setObject, setObject, setQueryTimeout, setRef, setShort, setString, setTime, setTime, setTimestamp, setTimestamp, setUnicodeStream, setURL
-
Methods inherited from class org.jboss.jca.adapters.jdbc.JBossWrapper
isWrapperFor, unwrap
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.sql.PreparedStatement
addBatch, clearParameters, execute, executeQuery, executeUpdate, getMetaData, getParameterMetaData, setArray, setAsciiStream, setBigDecimal, setBinaryStream, setBlob, setBoolean, setByte, setBytes, setCharacterStream, setClob, setDate, setDate, setDouble, setFloat, setInt, setLong, setNull, setNull, setObject, setObject, setObject, setRef, setShort, setString, setTime, setTime, setTimestamp, setTimestamp, setUnicodeStream, setURL
-
Methods inherited from interface java.sql.Statement
addBatch, cancel, clearBatch, clearWarnings, close, enquoteIdentifier, enquoteLiteral, enquoteNCharLiteral, execute, execute, execute, execute, executeBatch, executeQuery, executeUpdate, executeUpdate, executeUpdate, executeUpdate, getConnection, getFetchDirection, getFetchSize, getGeneratedKeys, getMaxFieldSize, getMaxRows, getMoreResults, getMoreResults, getQueryTimeout, getResultSet, getResultSetConcurrency, getResultSetHoldability, getResultSetType, getUpdateCount, getWarnings, isSimpleIdentifier, setCursorName, setEscapeProcessing, setFetchDirection, setFetchSize, setMaxFieldSize, setMaxRows, setQueryTimeout
-
Methods inherited from interface java.sql.Wrapper
isWrapperFor, unwrap
-
-
-
-
Constructor Detail
-
CachedCallableStatementJDK8
public CachedCallableStatementJDK8(CallableStatement cs) throws SQLException
Constructor- Parameters:
cs- The callable statement- Throws:
SQLException- Thrown if an error occurs
-
-
Method Detail
-
getLargeUpdateCount
public long getLargeUpdateCount() throws SQLException- Throws:
SQLException
-
setLargeMaxRows
public void setLargeMaxRows(long max) throws SQLException- Throws:
SQLException
-
getLargeMaxRows
public long getLargeMaxRows() throws SQLException- Throws:
SQLException
-
executeLargeBatch
public long[] executeLargeBatch() throws SQLException- Throws:
SQLException
-
executeLargeUpdate
public long executeLargeUpdate(String sql) throws SQLException
- Throws:
SQLException
-
executeLargeUpdate
public long executeLargeUpdate(String sql, int autoGeneratedKeys) throws SQLException
- Throws:
SQLException
-
executeLargeUpdate
public long executeLargeUpdate(String sql, int[] columnIndexes) throws SQLException
- Throws:
SQLException
-
executeLargeUpdate
public long executeLargeUpdate(String sql, String[] columnNames) throws SQLException
- Throws:
SQLException
-
setObject
public void setObject(int parameterIndex, Object x, SQLType targetSqlType, int scaleOrLength) throws SQLException- Throws:
SQLException
-
setObject
public void setObject(int parameterIndex, Object x, SQLType targetSqlType) throws SQLException- Throws:
SQLException
-
executeLargeUpdate
public long executeLargeUpdate() throws SQLException- Throws:
SQLException
-
setObject
public void setObject(String parameterName, Object x, SQLType targetSqlType, int scaleOrLength) throws SQLException
- Throws:
SQLException
-
setObject
public void setObject(String parameterName, Object x, SQLType targetSqlType) throws SQLException
- Throws:
SQLException
-
registerOutParameter
public void registerOutParameter(int parameterIndex, SQLType sqlType) throws SQLException- Throws:
SQLException
-
registerOutParameter
public void registerOutParameter(int parameterIndex, SQLType sqlType, int scale) throws SQLException- Throws:
SQLException
-
registerOutParameter
public void registerOutParameter(int parameterIndex, SQLType sqlType, String typeName) throws SQLException- Throws:
SQLException
-
registerOutParameter
public void registerOutParameter(String parameterName, SQLType sqlType) throws SQLException
- Throws:
SQLException
-
registerOutParameter
public void registerOutParameter(String parameterName, SQLType sqlType, int scale) throws SQLException
- Throws:
SQLException
-
registerOutParameter
public void registerOutParameter(String parameterName, SQLType sqlType, String typeName) throws SQLException
- Throws:
SQLException
-
-