August 2000
Intermediate to advanced
348 pages
8h 51m
English
Struct
Interface Name:
java.sql.Struct
Superclass: None
Immediate Subclasses: None
Interfaces Implemented: None
Availability: New as of JDK 1.2
This class maps to a SQL3 structured type. An
Struct instance has values that map to each of the
attributes in its associated structured value in the database.
public interface Struct {
Object[] getAttributes( ) throws SQLException;
Object[] getAttributes(Map map) throws SQLException;
String getSQLTypeName( ) throws SQLException;
}public Object[] getAttributes( ) throws SQLException public Object[] getAttributes(Map map) throws SQLException
This method provides the values for the attributes in the SQL structured type in order. If you pass a type map, it will use that type map to construct the Java values.
public String getSQLTypeName( ) throws SQLException
This method provides the SQL type name for this structured type.
Read now
Unlock full access