Postgres Select Multiple Rows Into Arraylist