Retrive data from PostgresData base via JDBC