| Package | Description | 
|---|---|
| java.sql | Provides the API for accessing and processing data stored in a 
data source (usually a relational database) using the 
JavaTM programming language. | 
| javax.sql | Provides the API for server side data source access and processing from
the JavaTM programming language. | 
| javax.sql.rowset | Standard interfaces and base classes for JDBC  RowSetimplementations. | 
| javax.sql.rowset.serial | Provides utility classes to allow serializable mappings between SQL types
and data types in the Java programming language. | 
| Modifier and Type | Method and Description | 
|---|---|
| Array | Connection. createArrayOf(String typeName,
             Object[] elements)Factory method for creating Array objects. | 
| Array | ResultSet. getArray(int columnIndex)Retrieves the value of the designated column in the current row
 of this  ResultSetobject as anArrayobject
 in the Java programming language. | 
| Array | CallableStatement. getArray(int parameterIndex)Retrieves the value of the designated JDBC  ARRAYparameter as anArrayobject in the Java programming language. | 
| Array | ResultSet. getArray(String columnLabel)Retrieves the value of the designated column in the current row
 of this  ResultSetobject as anArrayobject
 in the Java programming language. | 
| Array | CallableStatement. getArray(String parameterName)Retrieves the value of a JDBC  ARRAYparameter as anArrayobject in the Java programming language. | 
| Array | SQLInput. readArray()Reads an SQL  ARRAYvalue from the stream and returns it as anArrayobject in the Java programming language. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | PreparedStatement. setArray(int parameterIndex,
        Array x)Sets the designated parameter to the given  java.sql.Arrayobject. | 
| void | ResultSet. updateArray(int columnIndex,
           Array x)Updates the designated column with a  java.sql.Arrayvalue. | 
| void | ResultSet. updateArray(String columnLabel,
           Array x)Updates the designated column with a  java.sql.Arrayvalue. | 
| void | SQLOutput. writeArray(Array x)Writes an SQL  ARRAYvalue to the stream. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | RowSet. setArray(int i,
        Array x)Sets the designated parameter in this  RowSetobject's command
 with the givenArrayvalue. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | BaseRowSet. setArray(int parameterIndex,
        Array array)Sets the designated parameter to an  Arrayobject in the
 Java programming language. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | SerialArrayA serialized version of an  Arrayobject, which is the mapping in the Java programming language of an SQLARRAYvalue. | 
| Modifier and Type | Method and Description | 
|---|---|
| Array | SQLInputImpl. readArray()Reads an SQL  ARRAYvalue from the stream and
 returns it as anArrayobject in the Java programming
 language. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | SQLOutputImpl. writeArray(Array x)Writes an  Arrayobject in the Java
 programming language to thisSQLOutputImplobject. | 
| Constructor and Description | 
|---|
| SerialArray(Array array)Constructs a new  SerialArrayobject from the givenArrayobject. | 
| SerialArray(Array array,
           Map<String,Class<?>> map)Constructs a new  SerialArrayobject from the givenArrayobject, using the given type map for the custom
 mapping of each element when the elements are SQL UDTs. | 
 Submit a bug or feature 
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
 Copyright © 1993, 2017, Oracle and/or its affiliates.  All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.