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
RowSet
implementations. |
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
ResultSet object as a Ref object
in the Java programming language. |
Ref |
CallableStatement.getRef(int parameterIndex)
Retrieves the value of the designated JDBC
REF(<structured-type>)
parameter as a Ref object in the Java programming language. |
Ref |
ResultSet.getRef(String columnLabel)
Retrieves the value of the designated column in the current row
of this
ResultSet object as a Ref object
in the Java programming language. |
Ref |
CallableStatement.getRef(String parameterName)
Retrieves the value of a JDBC
REF(<structured-type>)
parameter as a Ref object in the Java programming language. |
Ref |
SQLInput.readRef()
Reads an SQL
REF value from the stream and returns it as a
Ref object 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.Ref value. |
void |
ResultSet.updateRef(String columnLabel,
Ref x)
Updates the designated column with a
java.sql.Ref value. |
void |
SQLOutput.writeRef(Ref x)
Writes an SQL
REF value to the stream. |
Modifier and Type | Method and Description |
---|---|
void |
RowSet.setRef(int i,
Ref x)
Sets the designated parameter in this
RowSet object's command
with the given Ref value. |
Modifier and Type | Method and Description |
---|---|
void |
BaseRowSet.setRef(int parameterIndex,
Ref ref)
Sets the designated parameter to the given
Ref object in
the Java programming language. |
Modifier and Type | Class and Description |
---|---|
class |
SerialRef
A serialized mapping of a
Ref object, which is the mapping in the
Java programming language of an SQL REF value. |
Modifier and Type | Method and Description |
---|---|
Ref |
SQLInputImpl.readRef()
Retrieves the value at the head of this
SQLInputImpl object
as a Ref object in the Java programming language. |
Modifier and Type | Method and Description |
---|---|
void |
SQLOutputImpl.writeRef(Ref x)
Writes a
Ref object in the Java programming language
to this SQLOutputImpl object. |
Constructor and Description |
---|
SerialRef(Ref ref)
Constructs a
SerialRef object from the given Ref
object. |
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, 2019, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.