Class JdbcStruct
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-07-26 (世界標準時間)。
[null,null,["上次更新時間:2025-07-26 (世界標準時間)。"],[[["\u003cp\u003eJdbcStruct is a JDBC representation of an SQL structured type.\u003c/p\u003e\n"],["\u003cp\u003eIt provides methods to access the attributes (\u003ccode\u003egetAttributes()\u003c/code\u003e) and the SQL type name (\u003ccode\u003egetSQLTypeName()\u003c/code\u003e).\u003c/p\u003e\n"],["\u003cp\u003eFor detailed documentation on the methods and class, refer to the provided Oracle Java SE 6 API links.\u003c/p\u003e\n"]]],["JdbcStruct, a JDBC `Struct`, provides methods to interact with SQL structured types. `getAttributes()` retrieves the ordered attribute values of a structure as an `Object` array. `getSQLTypeName()` returns the fully-qualified type name of the SQL structured type represented by the structure, as a `String`. Both methods' detailed documentation is found in the `java.sql.Struct` Java documentation. These are the two methods to use to interact with this JDBC class.\n"],null,["# Class JdbcStruct\n\nJdbcStruct\n\nA JDBC `Struct`. For documentation of this class, see [`java.sql.Struct\n`](https://docs.oracle.com/javase/6/docs/api/java/sql/Struct.html). \n\n### Methods\n\n| Method | Return type | Brief description |\n|---------------------------------------|-------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [getAttributes()](#getAttributes()) | `Object[]` | For documentation of this method, see [` java.sql.Struct#getAttributes()`](https://docs.oracle.com/javase/6/docs/api/java/sql/Struct.html#getAttributes()). |\n| [getSQLTypeName()](#getSQLTypeName()) | `String` | For documentation of this method, see [` java.sql.Struct#getSQLTypeName()`](https://docs.oracle.com/javase/6/docs/api/java/sql/Struct.html#getSQLTypeName()). |\n\nDetailed documentation\n----------------------\n\n### `get``Attributes()`\n\nFor documentation of this method, see [`\njava.sql.Struct#getAttributes()`](https://docs.oracle.com/javase/6/docs/api/java/sql/Struct.html#getAttributes()).\n\n#### Return\n\n\n`Object[]` --- The ordered attribute values of this structure.\n\n*** ** * ** ***\n\n### `get``SQLType``Name()`\n\nFor documentation of this method, see [`\njava.sql.Struct#getSQLTypeName()`](https://docs.oracle.com/javase/6/docs/api/java/sql/Struct.html#getSQLTypeName()).\n\n#### Return\n\n\n`String` --- The fully-qualified type name of the SQL structured type that this structure\nrepresents."]]