-
Methods in java.sql that return Array
| Modifier and Type |
Method |
Description |
Array |
Connection.createArrayOf(String typeName,
Object[] elements) |
Returns a new Array containing the given elements.
|
Array |
CallableStatement.getArray(int parameterIndex) |
Gets the value of a specified JDBC ARRAY parameter as a
java.sql.Array.
|
Array |
CallableStatement.getArray(String parameterName) |
Gets the value of a specified JDBC ARRAY parameter as a
java.sql.Array.
|
Array |
ResultSet.getArray(int columnIndex) |
Gets the content of a column specified by column index in the current row
of this ResultSet as a java.sql.Array.
|
Array |
ResultSet.getArray(String colName) |
Gets the value of a column specified by column name as a
java.sql.Array.
|
Array |
SQLInput.readArray() |
Returns the next attribute in the stream in the form of a
java.sql.Array.
|
Methods in java.sql with parameters of type Array
| Modifier and Type |
Method |
Description |
void |
PreparedStatement.setArray(int parameterIndex,
Array theArray) |
Sets the value of a specified parameter to the supplied Array.
|
void |
ResultSet.updateArray(int columnIndex,
Array x) |
Updates a column specified by a column index with a
java.sql.Array value.
|
void |
ResultSet.updateArray(String columnName,
Array x) |
Updates a column specified by a column name with a java.sql.Array
value.
|
void |
SQLOutput.writeArray(Array theArray) |
Write an SQL Array value into the output stream.
|
-
Methods in javax.sql with parameters of type Array
| Modifier and Type |
Method |
Description |
void |
RowSet.setArray(int parameterIndex,
Array theArray) |
Sets the specified ARRAY parameter in the RowSet command
with the supplied java.sql.Array value.
|
-