The standard mapping in the Java programming language for an SQL
structured type. A Struct
object contains a
value for each attribute of the SQL structured type that
it represents.
By default, an instance ofStruct
is valid as long as the
application has a reference to it.
All methods on the Struct
interface must be fully implemented if the
JDBC driver supports the data type.
Modifier and Type | Method and Description |
---|---|
public Object[] | Returns: an array containing the ordered attribute valuesProduces the ordered values of the attributes of the SQL
structured type that this |
public Object[] | Returns: an array containing the ordered attribute valuesa mapping of SQL type names to Java classes map)Produces the ordered values of the attributes of the SQL
structured type that this |
public String | Returns: the fully-qualified type name of the SQL structured type for which thisStruct object
is the generic representationRetrieves the SQL type name of the SQL structured type
that this |
getAttributes | back to summary |
---|---|
public Object[] getAttributes() throws SQLException Produces the ordered values of the attributes of the SQL
structured type that this
Conceptually, this method calls the method
|
getAttributes | back to summary |
---|---|
public Object[] getAttributes(Map<String, Class<?>> map) throws SQLException Produces the ordered values of the attributes of the SQL
structured type that this
Conceptually, this method calls the method
|
getSQLTypeName | back to summary |
---|---|
public String getSQLTypeName() throws SQLException Retrieves the SQL type name of the SQL structured type
that this
|