Postgres Aggregate Into Array Initialization Java