CallableStatement (Java SE 25 & JDK 25)
- All Superinterfaces:
AutoCloseable, PreparedStatement, Statement, Wrapper
-
Field Summary
-
Method Summary
getArray(int parameterIndex) Retrieves the value of the designated JDBC
ARRAYparameter as anArrayobject in the Java programming language.Retrieves the value of a JDBC
ARRAYparameter as anArrayobject in the Java programming language.getBigDecimal(int parameterIndex) Retrieves the value of the designated JDBC
NUMERICparameter as ajava.math.BigDecimalobject with as many digits to the right of the decimal point as the value contains.getBigDecimal(int parameterIndex, int scale) Retrieves the value of a JDBC
NUMERICparameter as ajava.math.BigDecimalobject with as many digits to the right of the decimal point as the value contains.getBlob(int parameterIndex) Retrieves the value of the designated JDBC
BLOBparameter as aBlobobject in the Java programming language.Retrieves the value of a JDBC
BLOBparameter as aBlobobject in the Java programming language.booleangetBoolean(int parameterIndex) Retrieves the value of the designated JDBC
BITorBOOLEANparameter as abooleanin the Java programming language.booleanRetrieves the value of a JDBC
BITorBOOLEANparameter as abooleanin the Java programming language.bytegetByte(int parameterIndex) Retrieves the value of the designated JDBC
TINYINTparameter as abytein the Java programming language.byteRetrieves the value of a JDBC
TINYINTparameter as abytein the Java programming language.byte[]getBytes(int parameterIndex) Retrieves the value of the designated JDBC
BINARYorVARBINARYparameter as an array ofbytevalues in the Java programming language.byte[]Retrieves the value of a JDBC
BINARYorVARBINARYparameter as an array ofbytevalues in the Java programming language.getCharacterStream(int parameterIndex) Retrieves the value of the designated parameter as a
java.io.Readerobject in the Java programming language.Retrieves the value of the designated parameter as a
java.io.Readerobject in the Java programming language.getClob(int parameterIndex) Retrieves the value of the designated JDBC
CLOBparameter as ajava.sql.Clobobject in the Java programming language.Retrieves the value of a JDBC
CLOBparameter as ajava.sql.Clobobject in the Java programming language.getDate(int parameterIndex) Retrieves the value of the designated JDBC
DATEparameter as ajava.sql.Dateobject.getDate(int parameterIndex, Calendar cal) Retrieves the value of the designated JDBC
DATEparameter as ajava.sql.Dateobject, using the givenCalendarobject to construct the date.Retrieves the value of a JDBC
DATEparameter as ajava.sql.Dateobject.Retrieves the value of a JDBC
DATEparameter as ajava.sql.Dateobject, using the givenCalendarobject to construct the date.doublegetDouble(int parameterIndex) Retrieves the value of the designated JDBC
DOUBLEparameter as adoublein the Java programming language.doubleRetrieves the value of a JDBC
DOUBLEparameter as adoublein the Java programming language.floatgetFloat(int parameterIndex) Retrieves the value of the designated JDBC
FLOATparameter as afloatin the Java programming language.floatRetrieves the value of a JDBC
FLOATparameter as afloatin the Java programming language.intgetInt(int parameterIndex) Retrieves the value of the designated JDBC
INTEGERparameter as anintin the Java programming language.intRetrieves the value of a JDBC
INTEGERparameter as anintin the Java programming language.longgetLong(int parameterIndex) Retrieves the value of the designated JDBC
BIGINTparameter as alongin the Java programming language.longRetrieves the value of a JDBC
BIGINTparameter as alongin the Java programming language.getNCharacterStream(int parameterIndex) Retrieves the value of the designated parameter as a
java.io.Readerobject in the Java programming language.Retrieves the value of the designated parameter as a
java.io.Readerobject in the Java programming language.getNClob(int parameterIndex) Retrieves the value of the designated JDBC
NCLOBparameter as ajava.sql.NClobobject in the Java programming language.Retrieves the value of a JDBC
NCLOBparameter as ajava.sql.NClobobject in the Java programming language.getNString(int parameterIndex) Retrieves the value of the designated
NCHAR,NVARCHARorLONGNVARCHARparameter as aStringin the Java programming language.Retrieves the value of the designated
NCHAR,NVARCHARorLONGNVARCHARparameter as aStringin the Java programming language.getObject(int parameterIndex) Retrieves the value of the designated parameter as an
Objectin the Java programming language.<T> TgetObject(int parameterIndex, Class<T> type) Returns an object representing the value of OUT parameter
parameterIndexand will convert from the SQL type of the parameter to the requested Java data type, if the conversion is supported.Returns an object representing the value of OUT parameter
parameterIndexand usesmapfor the custom mapping of the parameter value.Retrieves the value of a parameter as an
Objectin the Java programming language.<T> TReturns an object representing the value of OUT parameter
parameterNameand will convert from the SQL type of the parameter to the requested Java data type, if the conversion is supported.Returns an object representing the value of OUT parameter
parameterNameand usesmapfor the custom mapping of the parameter value.getRef(int parameterIndex) Retrieves the value of the designated JDBC
REF(<structured-type>)parameter as aRefobject in the Java programming language.Retrieves the value of a JDBC
REF(<structured-type>)parameter as aRefobject in the Java programming language.getRowId(int parameterIndex) Retrieves the value of the designated JDBC
ROWIDparameter as ajava.sql.RowIdobject.Retrieves the value of the designated JDBC
ROWIDparameter as ajava.sql.RowIdobject.shortgetShort(int parameterIndex) Retrieves the value of the designated JDBC
SMALLINTparameter as ashortin the Java programming language.shortRetrieves the value of a JDBC
SMALLINTparameter as ashortin the Java programming language.getSQLXML(int parameterIndex) Retrieves the value of the designated
SQL XMLparameter as ajava.sql.SQLXMLobject in the Java programming language.Retrieves the value of the designated
SQL XMLparameter as ajava.sql.SQLXMLobject in the Java programming language.getString(int parameterIndex) Retrieves the value of the designated JDBC
CHAR,VARCHAR, orLONGVARCHARparameter as aStringin the Java programming language.Retrieves the value of a JDBC
CHAR,VARCHAR, orLONGVARCHARparameter as aStringin the Java programming language.getTime(int parameterIndex) Retrieves the value of the designated JDBC
TIMEparameter as ajava.sql.Timeobject.getTime(int parameterIndex, Calendar cal) Retrieves the value of the designated JDBC
TIMEparameter as ajava.sql.Timeobject, using the givenCalendarobject to construct the time.Retrieves the value of a JDBC
TIMEparameter as ajava.sql.Timeobject.Retrieves the value of a JDBC
TIMEparameter as ajava.sql.Timeobject, using the givenCalendarobject to construct the time.getTimestamp(int parameterIndex) Retrieves the value of the designated JDBC
TIMESTAMPparameter as ajava.sql.Timestampobject.Retrieves the value of the designated JDBC
TIMESTAMPparameter as ajava.sql.Timestampobject, using the givenCalendarobject to construct theTimestampobject.Retrieves the value of a JDBC
TIMESTAMPparameter as ajava.sql.Timestampobject.Retrieves the value of a JDBC
TIMESTAMPparameter as ajava.sql.Timestampobject, using the givenCalendarobject to construct theTimestampobject.getURL(int parameterIndex) Retrieves the value of the designated JDBC
DATALINKparameter as ajava.net.URLobject.Retrieves the value of a JDBC
DATALINKparameter as ajava.net.URLobject.voidregisterOutParameter(int parameterIndex, int sqlType) Registers the OUT parameter in ordinal position
parameterIndexto the JDBC typesqlType.voidregisterOutParameter(int parameterIndex, int sqlType, int scale) Registers the parameter in ordinal position
parameterIndexto be of JDBC typesqlType.voidregisterOutParameter(int parameterIndex, int sqlType, String typeName) Registers the designated output parameter.
default voidregisterOutParameter(int parameterIndex, SQLType sqlType) Registers the OUT parameter in ordinal position
parameterIndexto the JDBC typesqlType.default voidregisterOutParameter(int parameterIndex, SQLType sqlType, int scale) Registers the parameter in ordinal position
parameterIndexto be of JDBC typesqlType.default voidRegisters the designated output parameter.
voidregisterOutParameter(String parameterName, int sqlType) Registers the OUT parameter named
parameterNameto the JDBC typesqlType.voidregisterOutParameter(String parameterName, int sqlType, int scale) Registers the parameter named
parameterNameto be of JDBC typesqlType.voidRegisters the designated output parameter.
default voidRegisters the OUT parameter named
parameterNameto the JDBC typesqlType.default voidRegisters the parameter named
parameterNameto be of JDBC typesqlType.default voidRegisters the designated output parameter.
voidSets the designated parameter to the given input stream.
voidSets the designated parameter to the given input stream, which will have the specified number of bytes.
voidSets the designated parameter to the given input stream, which will have the specified number of bytes.
voidSets the designated parameter to the given
java.math.BigDecimalvalue.voidSets the designated parameter to the given input stream.
voidSets the designated parameter to the given input stream, which will have the specified number of bytes.
voidSets the designated parameter to the given input stream, which will have the specified number of bytes.
voidSets the designated parameter to an
InputStreamobject.voidSets the designated parameter to an
InputStreamobject.voidSets the designated parameter to the given
java.sql.Blobobject.voidsetBoolean(String parameterName, boolean x) Sets the designated parameter to the given Java
booleanvalue.voidsetByte(String parameterName, byte x) Sets the designated parameter to the given Java
bytevalue.voidsetBytes(String parameterName, byte[] x) Sets the designated parameter to the given Java array of bytes.
voidSets the designated parameter to the given
Readerobject.voidSets the designated parameter to the given
Readerobject, which is the given number of characters long.voidSets the designated parameter to the given
Readerobject, which is the given number of characters long.voidSets the designated parameter to a
Readerobject.voidsetClob(String parameterName, Reader reader, long length) Sets the designated parameter to a
Readerobject.voidSets the designated parameter to the given
java.sql.Clobobject.voidSets the designated parameter to the given
java.sql.Datevalue using the default time zone of the virtual machine that is running the application.voidSets the designated parameter to the given
java.sql.Datevalue, using the givenCalendarobject.voidsetDouble(String parameterName, double x) Sets the designated parameter to the given Java
doublevalue.voidsetFloat(String parameterName, float x) Sets the designated parameter to the given Java
floatvalue.voidsetInt(String parameterName, int x) Sets the designated parameter to the given Java
intvalue.voidsetLong(String parameterName, long x) Sets the designated parameter to the given Java
longvalue.voidSets the designated parameter to a
Readerobject.voidSets the designated parameter to a
Readerobject.voidSets the designated parameter to a
Readerobject.voidsetNClob(String parameterName, Reader reader, long length) Sets the designated parameter to a
Readerobject.voidSets the designated parameter to a
java.sql.NClobobject.voidSets the designated parameter to the given
Stringobject.voidsetNull(String parameterName, int sqlType) Sets the designated parameter to SQL
NULL.voidsetNull(String parameterName, int sqlType, String typeName) Sets the designated parameter to SQL
NULL.voidSets the value of the designated parameter with the given object.
voidsetObject(String parameterName, Object x, int targetSqlType) Sets the value of the designated parameter with the given object.
voidsetObject(String parameterName, Object x, int targetSqlType, int scale) Sets the value of the designated parameter with the given object.
default voidSets the value of the designated parameter with the given object.
default voidSets the value of the designated parameter with the given object.
voidSets the designated parameter to the given
java.sql.RowIdobject.voidsetShort(String parameterName, short x) Sets the designated parameter to the given Java
shortvalue.voidSets the designated parameter to the given
java.sql.SQLXMLobject.voidSets the designated parameter to the given Java
Stringvalue.voidSets the designated parameter to the given
java.sql.Timevalue.voidSets the designated parameter to the given
java.sql.Timevalue, using the givenCalendarobject.voidSets the designated parameter to the given
java.sql.Timestampvalue.voidSets the designated parameter to the given
java.sql.Timestampvalue, using the givenCalendarobject.voidSets the designated parameter to the given
java.net.URLobject.booleanwasNull()Retrieves whether the last OUT parameter read had the value of SQL
NULL.Methods declared in interface PreparedStatement
addBatch, 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 declared in interface Statement
addBatch, 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, setQueryTimeout
-
Method Details
-
registerOutParameter
-
registerOutParameter
-
wasNull
-
getString
-
getBoolean
-
getByte
-
getShort
-
getInt
-
getLong
-
getFloat
-
getDouble
-
getBigDecimal
-
getBytes
-
getDate
-
getTime
-
getTimestamp
-
getObject
-
getBigDecimal
-
getObject
-
getRef
-
getBlob
-
getClob
-
getArray
-
getDate
-
getTime
-
getTimestamp
-
registerOutParameter
-
registerOutParameter
-
registerOutParameter
-
registerOutParameter
-
getURL
-
setURL
-
setNull
-
setBoolean
-
setByte
-
setShort
-
setInt
-
setLong
-
setFloat
-
setDouble
-
setBigDecimal
-
setString
-
setBytes
-
setDate
-
setTime
-
setTimestamp
-
setAsciiStream
-
setBinaryStream
-
setObject
-
setObject
-
setObject
-
setCharacterStream
-
setDate
-
setTime
-
setTimestamp
-
setNull
-
getString
-
getBoolean
-
getByte
-
getShort
-
getInt
-
getLong
-
getFloat
-
getDouble
-
getBytes
-
getDate
-
getTime
-
getTimestamp
-
getObject
-
getBigDecimal
-
getObject
-
getRef
-
getBlob
-
getClob
-
getArray
-
getDate
-
getTime
-
getTimestamp
-
getURL
-
getRowId
-
getRowId
-
setRowId
-
setNString
-
setNCharacterStream
-
setNClob
-
setClob
-
setBlob
-
setNClob
-
getNClob
-
getNClob
-
setSQLXML
-
getSQLXML
-
getSQLXML
-
getNString
-
getNString
-
getNCharacterStream
-
getNCharacterStream
-
getCharacterStream
-
getCharacterStream
-
setBlob
-
setClob
-
setAsciiStream
-
setBinaryStream
-
setCharacterStream
-
setAsciiStream
-
setBinaryStream
-
setCharacterStream
-
setNCharacterStream
-
setClob
-
setBlob
-
setNClob
-
getObject
-
getObject
-
setObject
-
setObject
-
registerOutParameter
-
registerOutParameter
-
registerOutParameter
-
registerOutParameter
-
registerOutParameter
-
registerOutParameter
-