Class JdbcStruct
Stay organized with collections
Save and categorize content based on your preferences.
JdbcStruct
A JDBC Struct
. For documentation of this class, see java.sql.Struct
.
Detailed documentation
getSQLTypeName()
For documentation of this method, see
java.sql.Struct#getSQLTypeName()
.
Return
String
— The fully-qualified type name of the SQL structured type that this structure
represents.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-12-05 UTC.
[null,null,["Last updated 2024-12-05 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."]]