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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.