Class JdbcRef

  • JdbcRef is a JDBC representation of an SQL REF, providing methods to interact with SQL structured types.

  • It allows retrieval of the SQL type name (getBaseTypeName()) and the referenced object (getObject()).

  • JdbcRef also enables updating the referenced object using setObject(Object).

JdbcRef

A JDBC Ref. For documentation of this class, see java.sql.Ref.

Methods

MethodReturn typeBrief description
getBaseTypeName()StringFor documentation of this method, see java.sql.Ref#getBaseTypeName().
getObject()ObjectFor documentation of this method, see java.sql.Ref#getObject().
setObject(object)voidFor documentation of this method, see java.sql.Ref#setObject(Object).

Detailed documentation

getBaseTypeName()

For documentation of this method, see java.sql.Ref#getBaseTypeName().

Return

String — The fully-qualified SQL name of the SQL structured type this JdbcRef references.


getObject()

For documentation of this method, see java.sql.Ref#getObject().

Return

Object — The object that this JdbcRef references.


setObject(object)

For documentation of this method, see java.sql.Ref#setObject(Object).

Parameters

NameTypeDescription
objectObjectThe object to set as the refernence target.