Skip to content

Commit 5dabc0e

Browse files
committed
Use setBytes instead of setObject to be more specific.
1 parent b7fa455 commit 5dabc0e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/java/org/duckdb/TestDuckDBJDBC.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -4357,7 +4357,7 @@ public static void test_get_bytes() throws Exception {
43574357
byte[][] arrays = new byte[][] {allTheBytes, {}};
43584358

43594359
for(byte [] array : arrays ) {
4360-
s.setObject(1, array);
4360+
s.setBytes(1, array);
43614361

43624362
int rowsReturned = 0;
43634363
try (ResultSet rs = s.executeQuery()) {

0 commit comments

Comments
 (0)