| Package | Description | 
|---|---|
| java.sql | Provides the API for accessing and processing data stored in a 
data source (usually a relational database) using the 
JavaTM programming language. | 
| javax.sql | Provides the API for server side data source access and processing from
the JavaTM programming language. | 
| javax.sql.rowset | Standard interfaces and base classes for JDBC  RowSetimplementations. | 
| javax.sql.rowset.serial | Provides utility classes to allow serializable mappings between SQL types
and data types in the Java programming language. | 
| Modifier and Type | Method and Description | 
|---|---|
| Ref | ResultSet. getRef(int columnIndex)Retrieves the value of the designated column in the current row
 of this  ResultSetobject as aRefobject
 in the Java programming language. | 
| Ref | CallableStatement. getRef(int parameterIndex)Retrieves the value of the designated JDBC  REF(<structured-type>)parameter as aRefobject in the Java programming language. | 
| Ref | ResultSet. getRef(String columnLabel)Retrieves the value of the designated column in the current row
 of this  ResultSetobject as aRefobject
 in the Java programming language. | 
| Ref | CallableStatement. getRef(String parameterName)Retrieves the value of a JDBC  REF(<structured-type>)parameter as aRefobject in the Java programming language. | 
| Ref | SQLInput. readRef()Reads an SQL  REFvalue from the stream and returns it as aRefobject in the Java programming language. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | PreparedStatement. setRef(int parameterIndex,
      Ref x)Sets the designated parameter to the given
   REF(<structured-type>)value. | 
| void | ResultSet. updateRef(int columnIndex,
         Ref x)Updates the designated column with a  java.sql.Refvalue. | 
| void | ResultSet. updateRef(String columnLabel,
         Ref x)Updates the designated column with a  java.sql.Refvalue. | 
| void | SQLOutput. writeRef(Ref x)Writes an SQL  REFvalue to the stream. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | RowSet. setRef(int i,
      Ref x)Sets the designated parameter in this  RowSetobject's command
 with the givenRefvalue. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | BaseRowSet. setRef(int parameterIndex,
      Ref ref)Sets the designated parameter to the given  Refobject in
 the Java programming language. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | SerialRefA serialized mapping of a  Refobject, which is the mapping in the
 Java programming language of an SQLREFvalue. | 
| Modifier and Type | Method and Description | 
|---|---|
| Ref | SQLInputImpl. readRef()Retrieves the value at the head of this  SQLInputImplobject
 as aRefobject in the Java programming language. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | SQLOutputImpl. writeRef(Ref x)Writes a  Refobject in the Java programming language
 to thisSQLOutputImplobject. | 
| Constructor and Description | 
|---|
| SerialRef(Ref ref)Constructs a  SerialRefobject from the givenRefobject. | 
 Submit a bug or feature 
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
 Copyright © 1993, 2017, Oracle and/or its affiliates.  All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.