Uses of Interface
java.sql.Ref

Packages that useRef
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.
javax.sql
Provides the API for server side data source access and processing from the Java programming language.
javax.sql.rowset
Standard interfaces and base classes for JDBCRowSet implementations.
javax.sql.rowset.serial
Provides utility classes to allow serializable mappings between SQL types and data types in the Java programming language.
  • Uses ofRef injava.sql

    Methods injava.sql that returnRef
    Modifier and Type
    Method
    Description
    CallableStatement.getRef(int parameterIndex)
    Retrieves the value of the designated JDBCREF(<structured-type>) parameter as aRef object in the Java programming language.
    CallableStatement.getRef(String parameterName)
    Retrieves the value of a JDBCREF(<structured-type>) parameter as aRef object in the Java programming language.
    ResultSet.getRef(int columnIndex)
    Retrieves the value of the designated column in the current row of thisResultSet object as aRef object in the Java programming language.
    ResultSet.getRef(String columnLabel)
    Retrieves the value of the designated column in the current row of thisResultSet object as aRef object in the Java programming language.
    SQLInput.readRef()
    Reads an SQLREF value from the stream and returns it as aRef object in the Java programming language.
    Methods injava.sql with parameters of typeRef
    Modifier and Type
    Method
    Description
    void
    PreparedStatement.setRef(int parameterIndex,Ref x)
    Sets the designated parameter to the givenREF(<structured-type>) value.
    void
    ResultSet.updateRef(int columnIndex,Ref x)
    Updates the designated column with ajava.sql.Ref value.
    void
    ResultSet.updateRef(String columnLabel,Ref x)
    Updates the designated column with ajava.sql.Ref value.
    void
    SQLOutput.writeRef(Ref x)
    Writes an SQLREF value to the stream.
  • Uses ofRef injavax.sql

    Methods injavax.sql with parameters of typeRef
    Modifier and Type
    Method
    Description
    void
    RowSet.setRef(int i,Ref x)
    Sets the designated parameter in thisRowSet object's command with the givenRef value.
  • Uses ofRef injavax.sql.rowset

    Methods injavax.sql.rowset with parameters of typeRef
    Modifier and Type
    Method
    Description
    void
    BaseRowSet.setRef(int parameterIndex,Ref ref)
    Sets the designated parameter to the givenRef object in the Java programming language.
  • Uses ofRef injavax.sql.rowset.serial

    Classes injavax.sql.rowset.serial that implementRef
    Modifier and Type
    Class
    Description
    class 
    A serialized mapping of aRef object, which is the mapping in the Java programming language of an SQLREF value.
    Methods injavax.sql.rowset.serial that returnRef
    Modifier and Type
    Method
    Description
    SQLInputImpl.readRef()
    Retrieves the value at the head of thisSQLInputImpl object as aRef object in the Java programming language.
    Methods injavax.sql.rowset.serial with parameters of typeRef
    Modifier and Type
    Method
    Description
    void
    SQLOutputImpl.writeRef(Ref x)
    Writes aRef object in the Java programming language to thisSQLOutputImpl object.
    Constructors injavax.sql.rowset.serial with parameters of typeRef
    Modifier
    Constructor
    Description
     
    Constructs aSerialRef object from the givenRef object.