I'm using PostgreSQL. One of my table fields is an array:
"day_of_month" int[] DEFAULT NULL
But my domain object for this table is List<Integer>. I want to fetch the attribute value in of the attribute in POJO with type :List<Integer> using MyBAtis query API.
Is there any automatic way to do this, is there anything provided by Postgresql to directly convert it into List<Integer>, wanted to avoid extra processing?