Interfaces

Array

The Array interface lets you retrieve SQL arrays as Java arrays.

getArray
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 SQLException

Retrieves the SQL array as a Java array. You can supply an initial index and count to retrieve a portion of the array. You can also supply a Map object that maps SQL type names to Java type names.

getBaseType
public int getBaseType() throws SQLException

Returns the JDBC type (as defined in the JDBC Types class) of the elements contained in the array.

 getBaseTypeName public String getBaseTypeName() throws SQLException ...

Get Special Edition Using Java™ 2 Enterprise Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.