Uses of Interface
java.sql.SQLType
| Package | Description |
|---|---|
| java.sql |
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
Classes in java.sql that implement SQLType Modifier and Type Class Description classJDBCTypeDefines the constants that are used to identify generic SQL types, called JDBC types.Methods in java.sql with parameters of type SQLType Modifier and Type Method Description default voidCallableStatement. registerOutParameter(int parameterIndex, SQLType sqlType)Registers the OUT parameter in ordinal positionparameterIndexto the JDBC typesqlType.default voidCallableStatement. registerOutParameter(int parameterIndex, SQLType sqlType, int scale)Registers the parameter in ordinal positionparameterIndexto be of JDBC typesqlType.default voidCallableStatement. registerOutParameter(int parameterIndex, SQLType sqlType, String typeName)Registers the designated output parameter.default voidCallableStatement. registerOutParameter(String parameterName, SQLType sqlType)Registers the OUT parameter namedparameterNameto the JDBC typesqlType.default voidCallableStatement. registerOutParameter(String parameterName, SQLType sqlType, int scale)Registers the parameter namedparameterNameto be of JDBC typesqlType.default voidCallableStatement. registerOutParameter(String parameterName, SQLType sqlType, String typeName)Registers the designated output parameter.default voidCallableStatement. setObject(String parameterName, Object x, SQLType targetSqlType)Sets the value of the designated parameter with the given object.default voidCallableStatement. setObject(String parameterName, Object x, SQLType targetSqlType, int scaleOrLength)Sets the value of the designated parameter with the given object.default voidPreparedStatement. setObject(int parameterIndex, Object x, SQLType targetSqlType)Sets the value of the designated parameter with the given object.default voidPreparedStatement. setObject(int parameterIndex, Object x, SQLType targetSqlType, int scaleOrLength)Sets the value of the designated parameter with the given object.ShardingKeyBuilderShardingKeyBuilder. subkey(Object subkey, SQLType subkeyType)This method will be called to add a subkey into a Sharding Key object being built.default voidResultSet. updateObject(int columnIndex, Object x, SQLType targetSqlType)Updates the designated column with anObjectvalue.default voidResultSet. updateObject(int columnIndex, Object x, SQLType targetSqlType, int scaleOrLength)Updates the designated column with anObjectvalue.default voidResultSet. updateObject(String columnLabel, Object x, SQLType targetSqlType)Updates the designated column with anObjectvalue.default voidResultSet. updateObject(String columnLabel, Object x, SQLType targetSqlType, int scaleOrLength)Updates the designated column with anObjectvalue.default voidSQLOutput. writeObject(Object x, SQLType targetSqlType)Writes to the stream the data contained in the given object.