Represent ARRAY columns as Java lists; implement CARDINALITY(ARRAY) SQL operator.