diff --git a/tests/client_tests/stock_jdbc/build.gradle b/tests/client_tests/stock_jdbc/build.gradle index 1b9bd824..6839d806 100644 --- a/tests/client_tests/stock_jdbc/build.gradle +++ b/tests/client_tests/stock_jdbc/build.gradle @@ -9,7 +9,7 @@ repositories { dependencies { testImplementation 'junit:junit:4.12' - testImplementation 'org.postgresql:postgresql:42.7.4' + testImplementation 'org.postgresql:postgresql:42.7.5' testImplementation 'org.hamcrest:hamcrest:2.1' testImplementation 'io.crate:crate-testing:0.11.1' } diff --git a/tests/client_tests/stock_jdbc/src/test/java/stock_jdbc/JdbcMetaDataTest.java b/tests/client_tests/stock_jdbc/src/test/java/stock_jdbc/JdbcMetaDataTest.java index 87e21d24..b610feae 100644 --- a/tests/client_tests/stock_jdbc/src/test/java/stock_jdbc/JdbcMetaDataTest.java +++ b/tests/client_tests/stock_jdbc/src/test/java/stock_jdbc/JdbcMetaDataTest.java @@ -147,7 +147,7 @@ public void test_getColumnPrivileges() throws Exception { @Test public void test_getColumns() throws Exception { try (var conn = DriverManager.getConnection(URL)) { - var results = conn.getMetaData().getColumns("", "sys", "summits", ""); + var results = conn.getMetaData().getColumns(null, "sys", "summits", null); assertThat(results.next(), is(true)); assertThat(results.getString(3), is("summits")); assertThat(results.getString(4), is("classification")); @@ -225,7 +225,7 @@ public void test_getFunctionColumns() throws Exception { @Test public void test_getFunctions() throws Exception { try (var conn = DriverManager.getConnection(URL)) { - var results = conn.getMetaData().getFunctions("", "", "current_schema"); + var results = conn.getMetaData().getFunctions(null, null, "current_schema"); assertThat(results.next(), is(true)); } } @@ -552,7 +552,7 @@ public void test_getTableTypes() throws Exception { @Test public void test_getTables() throws Exception { try (var conn = DriverManager.getConnection(URL)) { - var results = conn.getMetaData().getTables(null, "sys", "", null); + var results = conn.getMetaData().getTables(null, "sys", null, null); assertThat(results.next(), is(true)); assertThat(results.getString(3), is("allocations_pkey")); }