You may want to first check Class JdbcArray and the documentation of this class.
As discussed in java.sql.Array,
The Array interface provides methods for bringing an SQL ARRAY value's data to the client as either an array or a ResultSet
object. If the elements of the SQL ARRAY are user defined data type (UDT), they may be custom mapped.
To create a custom mapping, you must do two things:
- create a class that implements the SQLData interface for the UDT to be custom mapped.
- make an entry in a type map that contains
- the fully-qualified SQL type name of the UDT
- the Class object for the class implementing SQLData
After which, you can then check Class JdbcResultSet and its documentation.
Lastly, Guide to JDBC might also help.