Class JdbcStruct
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
JdbcStruct
Struct
של JDBC. למסמכי העזרה של הכיתה הזו, אפשר לעיין ב-java.sql.Struct
.
מסמכים מפורטים
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-07-26 (שעון UTC).
[null,null,["עדכון אחרון: 2025-07-26 (שעון UTC)."],[[["\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."]]