Class JdbcRef

  • JdbcRef is a JDBCRef object.

  • It has methods to get the base type name and the referenced object, as well as set the referenced object.

  • Detailed documentation for its methods can be found in thejava.sql.Ref class.

JdbcRef

A JDBCRef. For documentation of this class, seejava.sql.Ref.

Methods

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

Detailed documentation

getBaseTypeName()

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

Return

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


getObject()

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

Return

Object — The object that thisJdbcRef references.


setObject(object)

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

Parameters

NameTypeDescription
objectObjectThe object to set as the refernence target.

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-12-11 UTC.