Interface ArrayParameter<E>

Type Parameters:
E - the Java element type of the array; each element must be bindable to the SQL element type named by getBaseTypeName() by the active PreparedStatementBinder.

@ThreadSafe public interface ArrayParameter<E>
Encapsulates PreparedStatement parameter data meant to be bound to a formal java.sql.Array type by PreparedStatementBinder.

The baseTypeName corresponds to the value of java.sql.Array#getBaseTypeName() and is database-specific.

You may determine available baseTypeName values for your database by examining metadata exposed via Database.readDatabaseMetaData(DatabaseMetaDataReader).

Stardard instances may be constructed via Parameters.arrayOf(String, Object[]) and Parameters.arrayOf(String, List).

Implementations should be threadsafe.

Since:
3.0.0
Author:
Mark Allen
  • Method Details