public interface Array
The mapping relationship of SQL type ARRAY in the Java programming language. By default, the array value is a transaction period reference to the SQL Array value. By default, the array object is implemented using SQL LOCATOR (array), which means that the array object contains a logical pointer to the data in the SQL array value, not the data that contains the array value. The array interface provides methods for transferring data from a SQL array value as an array or ResultSet object to the client. If the elements of the SQL ARRAY are a UDT, then you can customize the mappings. To create a custom mapping relationship, programmers must do two things:
Creates a class that implements the SqlData interface for a UDT that will be custom mapped.
Generates an item in a Type mapping table that contains the
Fully qualified SQL type name of UDT
Class object that implements SqlData classes
When you provide a type mapping table with an item of the base type to the GetArray and Getresultset methods, the mapping relationship that the table contains will be used to map the elements of the ARRAY value. If you do not provide a type mapping table (usually this is the case), the Type mapping table for the connection is used by default. If the Type mapping table for the connection or the type mapping table provided for a method does not have an item corresponding to the base type, the elements are mapped according to the standard mapping relationship.