Postgres Select Into Array Variable Java