java.sql.Struct |
An interface which provides facilities for manipulating an SQL structured type
as a Java object. The Struct
object has a value for each attribute of the SQL structured
type.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Gets the values of the attributes of this SQL structured type.
| |||||||||||
Gets the values of the attributes of this SQL structured type.
| |||||||||||
Gets the SQL Type name of the SQL structured type that this
Struct represents. |
Gets the values of the attributes of this SQL structured type. This
method uses the type map associated with the Connection
for
customized type mappings. Where there is no entry in the type mapping
which matches this structured type, the JDBC driver uses the standard
mapping.
Object
array containing the ordered attributes.SQLException | if a database error occurs. |
---|
Gets the values of the attributes of this SQL structured type. This
method uses the supplied type mapping to determine how to map SQL types
to their corresponding Java objects. In the
case where there is no entry in the type mapping which matches this
structured type, the JDBC driver uses the default mapping. The Connection
type map is never utilized by this method.
theMap | a Map describing how SQL Type names are mapped to classes. |
---|
SQLException | if a database error occurs. |
---|
Gets the SQL Type name of the SQL structured type that this Struct
represents.
SQLException | if a database error occurs. |
---|