java.lang.Object
org.jooq.tools.jdbc.JDBC41Statement
org.jooq.tools.jdbc.DefaultStatement
org.jooq.tools.jdbc.DefaultPreparedStatement
org.jooq.tools.jdbc.DefaultCallableStatement
- All Implemented Interfaces:
- AutoCloseable,- CallableStatement,- PreparedStatement,- Statement,- Wrapper
A default JDBC CallableStatement implementation delegating all JDBC 4.0 calls
 to an internal delegate.
- Author:
- Lukas Eder
- 
Field SummaryFields inherited from interface java.sql.StatementCLOSE_ALL_RESULTS, CLOSE_CURRENT_RESULT, EXECUTE_FAILED, KEEP_CURRENT_RESULT, NO_GENERATED_KEYS, RETURN_GENERATED_KEYS, SUCCESS_NO_INFO
- 
Constructor SummaryConstructorsModifierConstructorDescriptionDefaultCallableStatement(CallableStatement delegate) protectedDefaultCallableStatement(Statement delegate) 
- 
Method SummaryModifier and TypeMethodDescriptiongetArray(int parameterIndex) getBigDecimal(int parameterIndex) getBigDecimal(int parameterIndex, int scale) Deprecated.getBigDecimal(String parameterName) getBlob(int parameterIndex) booleangetBoolean(int parameterIndex) booleangetBoolean(String parameterName) bytegetByte(int parameterIndex) bytebyte[]getBytes(int parameterIndex) byte[]getCharacterStream(int parameterIndex) getCharacterStream(String parameterName) getClob(int parameterIndex) getDate(int parameterIndex) doublegetDouble(int parameterIndex) doublefloatgetFloat(int parameterIndex) floatintgetInt(int parameterIndex) intlonggetLong(int parameterIndex) longgetNCharacterStream(int parameterIndex) getNCharacterStream(String parameterName) getNClob(int parameterIndex) getNString(int parameterIndex) getNString(String parameterName) getObject(int parameterIndex) <T> T<T> TgetRef(int parameterIndex) getRowId(int parameterIndex) shortgetShort(int parameterIndex) shortgetSQLXML(int parameterIndex) getString(int parameterIndex) getTime(int parameterIndex) getTimestamp(int parameterIndex) getTimestamp(int parameterIndex, Calendar cal) getTimestamp(String parameterName) getTimestamp(String parameterName, Calendar cal) getURL(int parameterIndex) voidregisterOutParameter(int parameterIndex, int sqlType) voidregisterOutParameter(int parameterIndex, int sqlType, int scale) voidregisterOutParameter(int parameterIndex, int sqlType, String typeName) voidregisterOutParameter(int parameterIndex, SQLType sqlType) voidregisterOutParameter(int parameterIndex, SQLType sqlType, int scale) voidregisterOutParameter(int parameterIndex, SQLType sqlType, String typeName) voidregisterOutParameter(String parameterName, int sqlType) voidregisterOutParameter(String parameterName, int sqlType, int scale) voidregisterOutParameter(String parameterName, int sqlType, String typeName) voidregisterOutParameter(String parameterName, SQLType sqlType) voidregisterOutParameter(String parameterName, SQLType sqlType, int scale) voidregisterOutParameter(String parameterName, SQLType sqlType, String typeName) voidsetAsciiStream(String parameterName, InputStream x) voidsetAsciiStream(String parameterName, InputStream x, int length) voidsetAsciiStream(String parameterName, InputStream x, long length) voidsetBigDecimal(String parameterName, BigDecimal x) voidsetBinaryStream(String parameterName, InputStream x) voidsetBinaryStream(String parameterName, InputStream x, int length) voidsetBinaryStream(String parameterName, InputStream x, long length) voidsetBlob(String parameterName, InputStream inputStream) voidsetBlob(String parameterName, InputStream inputStream, long length) voidvoidsetBoolean(String parameterName, boolean x) voidvoidvoidsetCharacterStream(String parameterName, Reader reader) voidsetCharacterStream(String parameterName, Reader reader, int length) voidsetCharacterStream(String parameterName, Reader reader, long length) voidvoidvoidvoidvoidvoidvoidvoidvoidvoidsetNCharacterStream(String parameterName, Reader value) voidsetNCharacterStream(String parameterName, Reader value, long length) voidvoidvoidvoidsetNString(String parameterName, String value) voidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidsetTimestamp(String parameterName, Timestamp x) voidsetTimestamp(String parameterName, Timestamp x, Calendar cal) voidbooleanwasNull()Methods inherited from class org.jooq.tools.jdbc.DefaultPreparedStatementaddBatch, clearParameters, execute, executeLargeUpdate, executeQuery, executeUpdate, getDelegatePreparedStatement, getMetaData, getParameterMetaData, setArray, setAsciiStream, setAsciiStream, setAsciiStream, setBigDecimal, setBinaryStream, setBinaryStream, setBinaryStream, setBlob, setBlob, setBlob, setBoolean, setByte, setBytes, setCharacterStream, setCharacterStream, setCharacterStream, setClob, setClob, setClob, setDate, setDate, setDouble, setFloat, setInt, setLong, setNCharacterStream, setNCharacterStream, setNClob, setNClob, setNClob, setNString, setNull, setNull, setObject, setObject, setObject, setObject, setObject, setRef, setRowId, setShort, setSQLXML, setString, setTime, setTime, setTimestamp, setTimestamp, setUnicodeStream, setURLMethods inherited from class org.jooq.tools.jdbc.DefaultStatementaddBatch, cancel, clearBatch, clearWarnings, close, closeOnCompletion, enquoteIdentifier, enquoteLiteral, enquoteNCharLiteral, execute, execute, execute, execute, executeBatch, executeLargeBatch, executeLargeUpdate, executeLargeUpdate, executeLargeUpdate, executeLargeUpdate, executeQuery, executeUpdate, executeUpdate, executeUpdate, executeUpdate, getConnection, getDelegateStatement, getFetchDirection, getFetchSize, getGeneratedKeys, getLargeMaxRows, getLargeUpdateCount, getMaxFieldSize, getMaxRows, getMoreResults, getMoreResults, getQueryTimeout, getResultSet, getResultSetConcurrency, getResultSetHoldability, getResultSetType, getUpdateCount, getWarnings, isClosed, isCloseOnCompletion, isPoolable, isSimpleIdentifier, isWrapperFor, setCursorName, setEscapeProcessing, setFetchDirection, setFetchSize, setLargeMaxRows, setMaxFieldSize, setMaxRows, setPoolable, setQueryTimeout, unwrap, wrapMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.sql.PreparedStatementaddBatch, clearParameters, execute, executeLargeUpdate, executeQuery, executeUpdate, getMetaData, getParameterMetaData, setArray, setAsciiStream, setAsciiStream, setAsciiStream, setBigDecimal, setBinaryStream, setBinaryStream, setBinaryStream, setBlob, setBlob, setBlob, setBoolean, setByte, setBytes, setCharacterStream, setCharacterStream, setCharacterStream, setClob, setClob, setClob, setDate, setDate, setDouble, setFloat, setInt, setLong, setNCharacterStream, setNCharacterStream, setNClob, setNClob, setNClob, setNString, setNull, setNull, setObject, setObject, setObject, setObject, setObject, setRef, setRowId, setShort, setSQLXML, setString, setTime, setTime, setTimestamp, setTimestamp, setUnicodeStream, setURLMethods inherited from interface java.sql.StatementaddBatch, cancel, clearBatch, clearWarnings, close, closeOnCompletion, enquoteIdentifier, enquoteLiteral, enquoteNCharLiteral, execute, execute, execute, execute, executeBatch, executeLargeBatch, executeLargeUpdate, executeLargeUpdate, executeLargeUpdate, executeLargeUpdate, executeQuery, executeUpdate, executeUpdate, executeUpdate, executeUpdate, getConnection, getFetchDirection, getFetchSize, getGeneratedKeys, getLargeMaxRows, getLargeUpdateCount, getMaxFieldSize, getMaxRows, getMoreResults, getMoreResults, getQueryTimeout, getResultSet, getResultSetConcurrency, getResultSetHoldability, getResultSetType, getUpdateCount, getWarnings, isClosed, isCloseOnCompletion, isPoolable, isSimpleIdentifier, setCursorName, setEscapeProcessing, setFetchDirection, setFetchSize, setLargeMaxRows, setMaxFieldSize, setMaxRows, setPoolable, setQueryTimeoutMethods inherited from interface java.sql.WrapperisWrapperFor, unwrap
- 
Constructor Details- 
DefaultCallableStatement
- 
DefaultCallableStatement
 
- 
- 
Method Details- 
getDelegate- Overrides:
- getDelegatein class- DefaultPreparedStatement
- Throws:
- SQLException
 
- 
getDelegateCallableStatement- Throws:
- SQLException
 
- 
registerOutParameter- Specified by:
- registerOutParameterin interface- CallableStatement
- Throws:
- SQLException
 
- 
registerOutParameter- Specified by:
- registerOutParameterin interface- CallableStatement
- Throws:
- SQLException
 
- 
wasNull- Specified by:
- wasNullin interface- CallableStatement
- Throws:
- SQLException
 
- 
getString- Specified by:
- getStringin interface- CallableStatement
- Throws:
- SQLException
 
- 
getBoolean- Specified by:
- getBooleanin interface- CallableStatement
- Throws:
- SQLException
 
- 
getByte- Specified by:
- getBytein interface- CallableStatement
- Throws:
- SQLException
 
- 
getShort- Specified by:
- getShortin interface- CallableStatement
- Throws:
- SQLException
 
- 
getInt- Specified by:
- getIntin interface- CallableStatement
- Throws:
- SQLException
 
- 
getLong- Specified by:
- getLongin interface- CallableStatement
- Throws:
- SQLException
 
- 
getFloat- Specified by:
- getFloatin interface- CallableStatement
- Throws:
- SQLException
 
- 
getDouble- Specified by:
- getDoublein interface- CallableStatement
- Throws:
- SQLException
 
- 
getBigDecimalDeprecated.- Specified by:
- getBigDecimalin interface- CallableStatement
- Throws:
- SQLException
 
- 
getBytes- Specified by:
- getBytesin interface- CallableStatement
- Throws:
- SQLException
 
- 
getDate- Specified by:
- getDatein interface- CallableStatement
- Throws:
- SQLException
 
- 
getTime- Specified by:
- getTimein interface- CallableStatement
- Throws:
- SQLException
 
- 
getTimestamp- Specified by:
- getTimestampin interface- CallableStatement
- Throws:
- SQLException
 
- 
getObject- Specified by:
- getObjectin interface- CallableStatement
- Throws:
- SQLException
 
- 
getBigDecimal- Specified by:
- getBigDecimalin interface- CallableStatement
- Throws:
- SQLException
 
- 
getObject- Specified by:
- getObjectin interface- CallableStatement
- Throws:
- SQLException
 
- 
getRef- Specified by:
- getRefin interface- CallableStatement
- Throws:
- SQLException
 
- 
getBlob- Specified by:
- getBlobin interface- CallableStatement
- Throws:
- SQLException
 
- 
getClob- Specified by:
- getClobin interface- CallableStatement
- Throws:
- SQLException
 
- 
getArray- Specified by:
- getArrayin interface- CallableStatement
- Throws:
- SQLException
 
- 
getDate- Specified by:
- getDatein interface- CallableStatement
- Throws:
- SQLException
 
- 
getTime- Specified by:
- getTimein interface- CallableStatement
- Throws:
- SQLException
 
- 
getTimestamp- Specified by:
- getTimestampin interface- CallableStatement
- Throws:
- SQLException
 
- 
registerOutParameterpublic void registerOutParameter(int parameterIndex, int sqlType, String typeName) throws SQLException - Specified by:
- registerOutParameterin interface- CallableStatement
- Throws:
- SQLException
 
- 
registerOutParameter- Specified by:
- registerOutParameterin interface- CallableStatement
- Throws:
- SQLException
 
- 
registerOutParameter- Specified by:
- registerOutParameterin interface- CallableStatement
- Throws:
- SQLException
 
- 
registerOutParameterpublic void registerOutParameter(String parameterName, int sqlType, String typeName) throws SQLException - Specified by:
- registerOutParameterin interface- CallableStatement
- Throws:
- SQLException
 
- 
getURL- Specified by:
- getURLin interface- CallableStatement
- Throws:
- SQLException
 
- 
setURL- Specified by:
- setURLin interface- CallableStatement
- Throws:
- SQLException
 
- 
setNull- Specified by:
- setNullin interface- CallableStatement
- Throws:
- SQLException
 
- 
setBoolean- Specified by:
- setBooleanin interface- CallableStatement
- Throws:
- SQLException
 
- 
setByte- Specified by:
- setBytein interface- CallableStatement
- Throws:
- SQLException
 
- 
setShort- Specified by:
- setShortin interface- CallableStatement
- Throws:
- SQLException
 
- 
setInt- Specified by:
- setIntin interface- CallableStatement
- Throws:
- SQLException
 
- 
setLong- Specified by:
- setLongin interface- CallableStatement
- Throws:
- SQLException
 
- 
setFloat- Specified by:
- setFloatin interface- CallableStatement
- Throws:
- SQLException
 
- 
setDouble- Specified by:
- setDoublein interface- CallableStatement
- Throws:
- SQLException
 
- 
setBigDecimal- Specified by:
- setBigDecimalin interface- CallableStatement
- Throws:
- SQLException
 
- 
setString- Specified by:
- setStringin interface- CallableStatement
- Throws:
- SQLException
 
- 
setBytes- Specified by:
- setBytesin interface- CallableStatement
- Throws:
- SQLException
 
- 
setDate- Specified by:
- setDatein interface- CallableStatement
- Throws:
- SQLException
 
- 
setTime- Specified by:
- setTimein interface- CallableStatement
- Throws:
- SQLException
 
- 
setTimestamp- Specified by:
- setTimestampin interface- CallableStatement
- Throws:
- SQLException
 
- 
setAsciiStream- Specified by:
- setAsciiStreamin interface- CallableStatement
- Throws:
- SQLException
 
- 
setBinaryStream- Specified by:
- setBinaryStreamin interface- CallableStatement
- Throws:
- SQLException
 
- 
setObjectpublic void setObject(String parameterName, Object x, int targetSqlType, int scale) throws SQLException - Specified by:
- setObjectin interface- CallableStatement
- Throws:
- SQLException
 
- 
setObject- Specified by:
- setObjectin interface- CallableStatement
- Throws:
- SQLException
 
- 
setObject- Specified by:
- setObjectin interface- CallableStatement
- Throws:
- SQLException
 
- 
setCharacterStream- Specified by:
- setCharacterStreamin interface- CallableStatement
- Throws:
- SQLException
 
- 
setDate- Specified by:
- setDatein interface- CallableStatement
- Throws:
- SQLException
 
- 
setTime- Specified by:
- setTimein interface- CallableStatement
- Throws:
- SQLException
 
- 
setTimestamp- Specified by:
- setTimestampin interface- CallableStatement
- Throws:
- SQLException
 
- 
setNull- Specified by:
- setNullin interface- CallableStatement
- Throws:
- SQLException
 
- 
getString- Specified by:
- getStringin interface- CallableStatement
- Throws:
- SQLException
 
- 
getBoolean- Specified by:
- getBooleanin interface- CallableStatement
- Throws:
- SQLException
 
- 
getByte- Specified by:
- getBytein interface- CallableStatement
- Throws:
- SQLException
 
- 
getShort- Specified by:
- getShortin interface- CallableStatement
- Throws:
- SQLException
 
- 
getInt- Specified by:
- getIntin interface- CallableStatement
- Throws:
- SQLException
 
- 
getLong- Specified by:
- getLongin interface- CallableStatement
- Throws:
- SQLException
 
- 
getFloat- Specified by:
- getFloatin interface- CallableStatement
- Throws:
- SQLException
 
- 
getDouble- Specified by:
- getDoublein interface- CallableStatement
- Throws:
- SQLException
 
- 
getBytes- Specified by:
- getBytesin interface- CallableStatement
- Throws:
- SQLException
 
- 
getDate- Specified by:
- getDatein interface- CallableStatement
- Throws:
- SQLException
 
- 
getTime- Specified by:
- getTimein interface- CallableStatement
- Throws:
- SQLException
 
- 
getTimestamp- Specified by:
- getTimestampin interface- CallableStatement
- Throws:
- SQLException
 
- 
getObject- Specified by:
- getObjectin interface- CallableStatement
- Throws:
- SQLException
 
- 
getBigDecimal- Specified by:
- getBigDecimalin interface- CallableStatement
- Throws:
- SQLException
 
- 
getObject- Specified by:
- getObjectin interface- CallableStatement
- Throws:
- SQLException
 
- 
getRef- Specified by:
- getRefin interface- CallableStatement
- Throws:
- SQLException
 
- 
getBlob- Specified by:
- getBlobin interface- CallableStatement
- Throws:
- SQLException
 
- 
getClob- Specified by:
- getClobin interface- CallableStatement
- Throws:
- SQLException
 
- 
getArray- Specified by:
- getArrayin interface- CallableStatement
- Throws:
- SQLException
 
- 
getDate- Specified by:
- getDatein interface- CallableStatement
- Throws:
- SQLException
 
- 
getTime- Specified by:
- getTimein interface- CallableStatement
- Throws:
- SQLException
 
- 
getTimestamp- Specified by:
- getTimestampin interface- CallableStatement
- Throws:
- SQLException
 
- 
getURL- Specified by:
- getURLin interface- CallableStatement
- Throws:
- SQLException
 
- 
getRowId- Specified by:
- getRowIdin interface- CallableStatement
- Throws:
- SQLException
 
- 
getRowId- Specified by:
- getRowIdin interface- CallableStatement
- Throws:
- SQLException
 
- 
setRowId- Specified by:
- setRowIdin interface- CallableStatement
- Throws:
- SQLException
 
- 
setNString- Specified by:
- setNStringin interface- CallableStatement
- Throws:
- SQLException
 
- 
setNCharacterStreampublic void setNCharacterStream(String parameterName, Reader value, long length) throws SQLException - Specified by:
- setNCharacterStreamin interface- CallableStatement
- Throws:
- SQLException
 
- 
setNClob- Specified by:
- setNClobin interface- CallableStatement
- Throws:
- SQLException
 
- 
setClob- Specified by:
- setClobin interface- CallableStatement
- Throws:
- SQLException
 
- 
setBlob- Specified by:
- setBlobin interface- CallableStatement
- Throws:
- SQLException
 
- 
setNClob- Specified by:
- setNClobin interface- CallableStatement
- Throws:
- SQLException
 
- 
getNClob- Specified by:
- getNClobin interface- CallableStatement
- Throws:
- SQLException
 
- 
getNClob- Specified by:
- getNClobin interface- CallableStatement
- Throws:
- SQLException
 
- 
setSQLXML- Specified by:
- setSQLXMLin interface- CallableStatement
- Throws:
- SQLException
 
- 
getSQLXML- Specified by:
- getSQLXMLin interface- CallableStatement
- Throws:
- SQLException
 
- 
getSQLXML- Specified by:
- getSQLXMLin interface- CallableStatement
- Throws:
- SQLException
 
- 
getNString- Specified by:
- getNStringin interface- CallableStatement
- Throws:
- SQLException
 
- 
getNString- Specified by:
- getNStringin interface- CallableStatement
- Throws:
- SQLException
 
- 
getNCharacterStream- Specified by:
- getNCharacterStreamin interface- CallableStatement
- Throws:
- SQLException
 
- 
getNCharacterStream- Specified by:
- getNCharacterStreamin interface- CallableStatement
- Throws:
- SQLException
 
- 
getCharacterStream- Specified by:
- getCharacterStreamin interface- CallableStatement
- Throws:
- SQLException
 
- 
getCharacterStream- Specified by:
- getCharacterStreamin interface- CallableStatement
- Throws:
- SQLException
 
- 
setBlob- Specified by:
- setBlobin interface- CallableStatement
- Throws:
- SQLException
 
- 
setClob- Specified by:
- setClobin interface- CallableStatement
- Throws:
- SQLException
 
- 
setAsciiStream- Specified by:
- setAsciiStreamin interface- CallableStatement
- Throws:
- SQLException
 
- 
setBinaryStream- Specified by:
- setBinaryStreamin interface- CallableStatement
- Throws:
- SQLException
 
- 
setCharacterStreampublic void setCharacterStream(String parameterName, Reader reader, long length) throws SQLException - Specified by:
- setCharacterStreamin interface- CallableStatement
- Throws:
- SQLException
 
- 
setAsciiStream- Specified by:
- setAsciiStreamin interface- CallableStatement
- Throws:
- SQLException
 
- 
setBinaryStream- Specified by:
- setBinaryStreamin interface- CallableStatement
- Throws:
- SQLException
 
- 
setCharacterStream- Specified by:
- setCharacterStreamin interface- CallableStatement
- Throws:
- SQLException
 
- 
setNCharacterStream- Specified by:
- setNCharacterStreamin interface- CallableStatement
- Throws:
- SQLException
 
- 
setClob- Specified by:
- setClobin interface- CallableStatement
- Throws:
- SQLException
 
- 
setBlob- Specified by:
- setBlobin interface- CallableStatement
- Throws:
- SQLException
 
- 
setNClob- Specified by:
- setNClobin interface- CallableStatement
- Throws:
- SQLException
 
- 
getObject- Specified by:
- getObjectin interface- CallableStatement
- Overrides:
- getObjectin class- JDBC41Statement
- Throws:
- SQLException
 
- 
getObject- Specified by:
- getObjectin interface- CallableStatement
- Overrides:
- getObjectin class- JDBC41Statement
- Throws:
- SQLException
 
- 
setObjectpublic void setObject(String parameterName, Object x, SQLType targetSqlType, int scaleOrLength) throws SQLException - Specified by:
- setObjectin interface- CallableStatement
- Throws:
- SQLException
 
- 
setObject- Specified by:
- setObjectin interface- CallableStatement
- Throws:
- SQLException
 
- 
registerOutParameter- Specified by:
- registerOutParameterin interface- CallableStatement
- Throws:
- SQLException
 
- 
registerOutParameterpublic void registerOutParameter(int parameterIndex, SQLType sqlType, int scale) throws SQLException - Specified by:
- registerOutParameterin interface- CallableStatement
- Throws:
- SQLException
 
- 
registerOutParameterpublic void registerOutParameter(int parameterIndex, SQLType sqlType, String typeName) throws SQLException - Specified by:
- registerOutParameterin interface- CallableStatement
- Throws:
- SQLException
 
- 
registerOutParameter- Specified by:
- registerOutParameterin interface- CallableStatement
- Throws:
- SQLException
 
- 
registerOutParameterpublic void registerOutParameter(String parameterName, SQLType sqlType, int scale) throws SQLException - Specified by:
- registerOutParameterin interface- CallableStatement
- Throws:
- SQLException
 
- 
registerOutParameterpublic void registerOutParameter(String parameterName, SQLType sqlType, String typeName) throws SQLException - Specified by:
- registerOutParameterin interface- CallableStatement
- Throws:
- SQLException
 
 
-