August 2000
Intermediate to advanced
348 pages
8h 51m
English
Array
Interface Name:
java.sql.Array
Superclass: None
Immediate Subclasses: None
Interfaces Implemented: None
Availability: New as of JDK 1.2
Array
represents a SQL3 array object. The default duration
of a reference to a SQL array is for the life of the transaction in
which it was created.

Figure 11-1. All classes and interfaces of the JDBC Core API
public interface Array {
Object getArray( ) throws SQLException;
Object getArray(Map map) throws SQLException;
Object getArray(long index, int count)
throws SQLException;
Object getArray(long index, int count, Map map)
throws SQLException;
int getBaseType( ) throws SQLException;
String getBaseTypeName( ) throws SQLException;
ResultSet getResultSet( ) throws SQLException;
ResultSet getResultSet(Map map) throws SQLException;
ResultSet getResultSet(long index, int count)
throws SQLException;
ResultSet getResultSet(long index, int count,
Map map) throws SQLException
}public Object getArray( ) throws SQLException
public Object getArray(Map map) throws SQLException
public Object getArray(long index, int count)
throws SQLException
public Object getArray(long index, int count, Map map)
throws SQLExceptionThis method retrieves the contents of this SQL array into a Java
language array or, instead, into the Java type specified by a
provided Map. If a map is specified but no match ...
Read now
Unlock full access