while(resultSet_this.next()) { if(!resultSet_this.isFirst()) s += ",";
s += resultSet_this.getString(1); }
return s; }
catch(SQLException e) { return "error"; } }
This will only return the database, that I state inside the URL (e.g. String sURL = "jdbc:postgresql://<<ip>>:5432/databaseA" ---> will return "databaseA" only).
I try to connect without stating any database inside the URL, also cannot. Can you guys please help me ?