URLのフォーマット
カレントスキーマの接続パラメータは、currentSchemaなので、以下のようにURLの最後に指定する。jdbc:postgresql://localhost/test?currentSchema
実行例
// 以下のコードの場合、カレントスキーマはtest_schemaとなる
dataSource.setUrl("jdbc:postgresql://localhost/test?currentSchema=test_schema");
try (Connection connection = dataSource.getConnection()) {
    final String schema = connection.getSchema();
    System.out.println("schema = " + schema);       // -> schema = test_schema
}
