Postgresql Command Line Select From Table In Java