AI-generated Key Takeaways
-
JdbcRef
is a JDBC representation of an SQLREF
, 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 usingsetObject(Object)
.
A JDBC Ref
. For documentation of this class, see java.sql.Ref
.
Methods
Method | Return type | Brief description |
---|---|---|
get | String | For documentation of this method, see
java.sql.Ref#getBaseTypeName() . |
get | Object | For documentation of this method, see
java.sql.Ref#getObject() . |
set | void | For 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 Jdbc
references.
getObject()
For documentation of this method, see
java.sql.Ref#getObject()
.
Return
Object
— The object that this Jdbc
references.
setObject(object)
For documentation of this method, see
java.sql.Ref#setObject(Object)
.
Parameters
Name | Type | Description |
---|---|---|
object | Object | The object to set as the refernence target. |