Uses of Interface
java.sql.SQLType
Package
Description
Provides the API for accessing and processing data stored in a
data source (usually a relational database) using the
Java programming language.
-
Uses of SQLType in java.sql
Modifier and TypeClassDescriptionclass
Defines the constants that are used to identify generic SQL types, called JDBC types.Modifier and TypeMethodDescriptiondefault void
CallableStatement.registerOutParameter(int parameterIndex, SQLType sqlType)
Registers the OUT parameter in ordinal positionparameterIndex
to the JDBC typesqlType
.default void
CallableStatement.registerOutParameter(int parameterIndex, SQLType sqlType, int scale)
Registers the parameter in ordinal positionparameterIndex
to be of JDBC typesqlType
.default void
CallableStatement.registerOutParameter(int parameterIndex, SQLType sqlType, String typeName)
Registers the designated output parameter.default void
CallableStatement.registerOutParameter(String parameterName, SQLType sqlType)
Registers the OUT parameter namedparameterName
to the JDBC typesqlType
.default void
CallableStatement.registerOutParameter(String parameterName, SQLType sqlType, int scale)
Registers the parameter namedparameterName
to be of JDBC typesqlType
.default void
CallableStatement.registerOutParameter(String parameterName, SQLType sqlType, String typeName)
Registers the designated output parameter.default void
Sets the value of the designated parameter with the given object.default void
CallableStatement.setObject(String parameterName, Object x, SQLType targetSqlType, int scaleOrLength)
Sets the value of the designated parameter with the given object.default void
Sets the value of the designated parameter with the given object.default void
PreparedStatement.setObject(int parameterIndex, Object x, SQLType targetSqlType, int scaleOrLength)
Sets the value of the designated parameter with the given object.This method will be called to add a subkey into a Sharding Key object being built.default void
ResultSet.updateObject(int columnIndex, Object x, SQLType targetSqlType)
Updates the designated column with anObject
value.default void
ResultSet.updateObject(int columnIndex, Object x, SQLType targetSqlType, int scaleOrLength)
Updates the designated column with anObject
value.default void
ResultSet.updateObject(String columnLabel, Object x, SQLType targetSqlType)
Updates the designated column with anObject
value.default void
ResultSet.updateObject(String columnLabel, Object x, SQLType targetSqlType, int scaleOrLength)
Updates the designated column with anObject
value.default void
SQLOutput.writeObject(Object x, SQLType targetSqlType)
Writes to the stream the data contained in the given object.