Uses of Interface
java.sql.Ref
-
Packages that use Ref 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 of Ref in java.sql
Methods in java.sql that return Ref Modifier and Type Method Description Ref
CallableStatement. getRef(int parameterIndex)
Retrieves the value of the designated JDBCREF(<structured-type>)
parameter as aRef
object in the Java programming language.Ref
CallableStatement. getRef(String parameterName)
Retrieves the value of a JDBCREF(<structured-type>)
parameter as aRef
object in the Java programming language.Ref
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.Ref
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.Ref
SQLInput. readRef()
Reads an SQLREF
value from the stream and returns it as aRef
object in the Java programming language.Methods in java.sql with parameters of type Ref 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 of Ref in javax.sql
Methods in javax.sql with parameters of type Ref 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 of Ref in javax.sql.rowset
Methods in javax.sql.rowset with parameters of type Ref 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 of Ref in javax.sql.rowset.serial
Classes in javax.sql.rowset.serial that implement Ref Modifier and Type Class Description class
SerialRef
A serialized mapping of aRef
object, which is the mapping in the Java programming language of an SQLREF
value.Methods in javax.sql.rowset.serial that return Ref Modifier and Type Method Description Ref
SQLInputImpl. readRef()
Retrieves the value at the head of thisSQLInputImpl
object as aRef
object in the Java programming language.Methods in javax.sql.rowset.serial with parameters of type Ref Modifier and Type Method Description void
SQLOutputImpl. writeRef(Ref x)
Writes aRef
object in the Java programming language to thisSQLOutputImpl
object.Constructors in javax.sql.rowset.serial with parameters of type Ref Constructor Description SerialRef(Ref ref)
Constructs aSerialRef
object from the givenRef
object.
-