Class JdbcRef
Mantenha tudo organizado com as coleções
Salve e categorize o conteúdo com base nas suas preferências.
JdbcRef
Um Ref
JDBC. Para consultar a documentação dessa classe, consulte java.sql.Ref
.
Documentação detalhada
getBaseTypeName()
Para consultar a documentação desse método, acesse
java.sql.Ref#getBaseTypeName()
.
Retornar
String
: o nome SQL totalmente qualificado do tipo estruturado SQL a que este JdbcRef
faz referência.
setObject(object)
Para consultar a documentação desse método, acesse
java.sql.Ref#setObject(Object)
.
Parâmetros
Nome | Tipo | Descrição |
object | Object | O objeto a ser definido como o destino de referência. |
Exceto em caso de indicação contrária, o conteúdo desta página é licenciado de acordo com a Licença de atribuição 4.0 do Creative Commons, e as amostras de código são licenciadas de acordo com a Licença Apache 2.0. Para mais detalhes, consulte as políticas do site do Google Developers. Java é uma marca registrada da Oracle e/ou afiliadas.
Última atualização 2025-07-26 UTC.
[null,null,["Última atualização 2025-07-26 UTC."],[[["\u003cp\u003e\u003ccode\u003eJdbcRef\u003c/code\u003e is a JDBC representation of an SQL \u003ccode\u003eREF\u003c/code\u003e, providing methods to interact with SQL structured types.\u003c/p\u003e\n"],["\u003cp\u003eIt allows retrieval of the SQL type name (\u003ccode\u003egetBaseTypeName()\u003c/code\u003e) and the referenced object (\u003ccode\u003egetObject()\u003c/code\u003e).\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eJdbcRef\u003c/code\u003e also enables updating the referenced object using \u003ccode\u003esetObject(Object)\u003c/code\u003e.\u003c/p\u003e\n"]]],["JdbcRef, a JDBC `Ref`, offers methods to manage SQL references. `getBaseTypeName()` retrieves the fully-qualified SQL name of the referenced type. `getObject()` returns the object that the `JdbcRef` points to. `setObject(object)` allows setting a new object as the reference target. Each method's detailed functionality mirrors the specifications found in the `java.sql.Ref` documentation, as outlined in the provided links.\n"],null,["# Class JdbcRef\n\nJdbcRef\n\nA JDBC `Ref`. For documentation of this class, see [`java.sql.Ref`](https://docs.oracle.com/javase/6/docs/api/java/sql/Ref.html). \n\n### Methods\n\n| Method | Return type | Brief description |\n|-----------------------------------------|-------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [getBaseTypeName()](#getBaseTypeName()) | `String` | For documentation of this method, see [` java.sql.Ref#getBaseTypeName()`](https://docs.oracle.com/javase/6/docs/api/java/sql/Ref.html#getBaseTypeName()). |\n| [getObject()](#getObject()) | `Object` | For documentation of this method, see [` java.sql.Ref#getObject()`](https://docs.oracle.com/javase/6/docs/api/java/sql/Ref.html#getObject()). |\n| [setObject(object)](#setObject(Object)) | `void` | For documentation of this method, see [`java.sql.Ref#setObject(Object)`](https://docs.oracle.com/javase/6/docs/api/java/sql/Ref.html#setObject(java.lang.Object)). |\n\nDetailed documentation\n----------------------\n\n### `get``Base``Type``Name()`\n\nFor documentation of this method, see [`\njava.sql.Ref#getBaseTypeName()`](https://docs.oracle.com/javase/6/docs/api/java/sql/Ref.html#getBaseTypeName()).\n\n#### Return\n\n\n`String` --- The fully-qualified SQL name of the SQL structured type this [JdbcRef](#)\nreferences.\n\n*** ** * ** ***\n\n### `get``Object()`\n\nFor documentation of this method, see [`\njava.sql.Ref#getObject()`](https://docs.oracle.com/javase/6/docs/api/java/sql/Ref.html#getObject()).\n\n#### Return\n\n\n`Object` --- The object that this [JdbcRef](#) references.\n\n*** ** * ** ***\n\n### `set``Object(object)`\n\nFor documentation of this method, see [`java.sql.Ref#setObject(Object)`](https://docs.oracle.com/javase/6/docs/api/java/sql/Ref.html#setObject(java.lang.Object)).\n\n#### Parameters\n\n| Name | Type | Description |\n|----------|----------|---------------------------------------------|\n| `object` | `Object` | The object to set as the refernence target. |"]]