[[["Dễ hiểu","easyToUnderstand","thumb-up"],["Giúp tôi giải quyết được vấn đề","solvedMyProblem","thumb-up"],["Khác","otherUp","thumb-up"]],[["Thiếu thông tin tôi cần","missingTheInformationINeed","thumb-down"],["Quá phức tạp/quá nhiều bước","tooComplicatedTooManySteps","thumb-down"],["Đã lỗi thời","outOfDate","thumb-down"],["Vấn đề về bản dịch","translationIssue","thumb-down"],["Vấn đề về mẫu/mã","samplesCodeIssue","thumb-down"],["Khác","otherDown","thumb-down"]],["Cập nhật lần gần đây nhất: 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,["JdbcRef\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\nMethods\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`get``Base``Type``Name()` \nFor documentation of this method, see [`\njava.sql.Ref#getBaseTypeName()`](https://docs.oracle.com/javase/6/docs/api/java/sql/Ref.html#getBaseTypeName()).\n\nReturn\n\n\n`String` --- The fully-qualified SQL name of the SQL structured type this [JdbcRef](#)\nreferences.\n\n*** ** * ** ***\n\n`get``Object()` \nFor documentation of this method, see [`\njava.sql.Ref#getObject()`](https://docs.oracle.com/javase/6/docs/api/java/sql/Ref.html#getObject()).\n\nReturn\n\n\n`Object` --- The object that this [JdbcRef](#) references.\n\n*** ** * ** ***\n\n`set``Object(object)` \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\nParameters\n\n| Name | Type | Description |\n|----------|----------|---------------------------------------------|\n| `object` | `Object` | The object to set as the refernence target. |"]]