Skip to content

Commit 47f8373

Browse files
amotlmatriv
authored andcommitted
JDBC: Update to pgjdbc 42.7.5
1 parent 13b1ece commit 47f8373

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

tests/client_tests/stock_jdbc/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ dependencies {
1111
testImplementation 'junit:junit:4.13.2'
1212
testImplementation 'org.assertj:assertj-core:3.27.3'
1313
testImplementation 'io.crate:crate-testing:0.12.1'
14-
testImplementation 'org.postgresql:postgresql:42.7.4'
14+
testImplementation 'org.postgresql:postgresql:42.7.6'
1515
}
1616

1717
test {

tests/client_tests/stock_jdbc/src/test/java/stock_jdbc/JdbcMetaDataTest.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ public void test_getColumnPrivileges() throws Exception {
143143
@Test
144144
public void test_getColumns() throws Exception {
145145
try (var conn = DriverManager.getConnection(URL)) {
146-
var results = conn.getMetaData().getColumns("", "sys", "summits", "");
146+
var results = conn.getMetaData().getColumns("", "sys", "summits", null);
147147
assertThat(results.next()).isTrue();
148148
assertThat(results.getString(3)).isEqualTo("summits");
149149
assertThat(results.getString(4)).isEqualTo("classification");
@@ -221,7 +221,7 @@ public void test_getFunctionColumns() throws Exception {
221221
@Test
222222
public void test_getFunctions() throws Exception {
223223
try (var conn = DriverManager.getConnection(URL)) {
224-
var results = conn.getMetaData().getFunctions("", "", "current_schema");
224+
var results = conn.getMetaData().getFunctions(null, null, "current_schema");
225225
assertThat(results.next()).isTrue();
226226
}
227227
}
@@ -544,7 +544,7 @@ public void test_getTableTypes() throws Exception {
544544
@Test
545545
public void test_getTables() throws Exception {
546546
try (var conn = DriverManager.getConnection(URL)) {
547-
var results = conn.getMetaData().getTables(null, "sys", "", null);
547+
var results = conn.getMetaData().getTables(null, "sys", null, null);
548548
assertThat(results.next()).isTrue();
549549
assertThat(results.getString(3)).isEqualTo("allocations_pkey");
550550
}

0 commit comments

Comments
 (0)