PostgreSQL JDBC problem solved