Uses of Interface
java.sql.SQLType

Packages that use 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

    Classes in java.sql that implement SQLType
    Modifier and Type
    Class
    Description
    enum 
    Defines 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 void
    CallableStatement.registerOutParameter(int parameterIndex, SQLType sqlType)
    Registers the OUT parameter in ordinal position parameterIndex to the JDBC type sqlType.
    default void
    CallableStatement.registerOutParameter(int parameterIndex, SQLType sqlType, int scale)
    Registers the parameter in ordinal position parameterIndex to be of JDBC type sqlType.
    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 named parameterName to the JDBC type sqlType.
    default void
    CallableStatement.registerOutParameter(String parameterName, SQLType sqlType, int scale)
    Registers the parameter named parameterName to be of JDBC type sqlType.
    default void
    CallableStatement.registerOutParameter(String parameterName, SQLType sqlType, String typeName)
    Registers the designated output parameter.
    default void
    CallableStatement.setObject(String parameterName, Object x, SQLType targetSqlType)
    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
    PreparedStatement.setObject(int parameterIndex, Object x, SQLType targetSqlType)
    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.
    ShardingKeyBuilder.subkey(Object subkey, SQLType subkeyType)
    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 an Object value.
    default void
    ResultSet.updateObject(int columnIndex, Object x, SQLType targetSqlType, int scaleOrLength)
    Updates the designated column with an Object value.
    default void
    ResultSet.updateObject(String columnLabel, Object x, SQLType targetSqlType)
    Updates the designated column with an Object value.
    default void
    ResultSet.updateObject(String columnLabel, Object x, SQLType targetSqlType, int scaleOrLength)
    Updates the designated column with an Object value.
    default void
    SQLOutput.writeObject(Object x, SQLType targetSqlType)
    Writes to the stream the data contained in the given object.