Class JdbcRef
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2025-07-26(UTC)
[null,null,["최종 업데이트: 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. |"]]