From 9da19290ca35c3d34fd1e60d2a23f63c2621c54f Mon Sep 17 00:00:00 2001 From: Martin Vahlensieck Date: Mon, 29 Apr 2024 17:00:00 +0200 Subject: [PATCH] Use unique primary keys --- src/test/java/org/polypheny/jdbc/StatementTest.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/test/java/org/polypheny/jdbc/StatementTest.java b/src/test/java/org/polypheny/jdbc/StatementTest.java index fdf410a..52ec053 100644 --- a/src/test/java/org/polypheny/jdbc/StatementTest.java +++ b/src/test/java/org/polypheny/jdbc/StatementTest.java @@ -146,11 +146,11 @@ void testMultipleStatements2() throws SQLException { s1.execute( "INSERT INTO t(id, a) VALUES (1, 4)" ); s1.execute( "INSERT INTO t(id, a) VALUES (2, 4)" ); try ( Statement s2 = con.createStatement() ) { - s2.execute( "INSERT INTO t(id, a) VALUES (5, 5)" ); - s2.execute( "INSERT INTO t(id, a) VALUES (6, 6)" ); + s2.execute( "INSERT INTO t(id, a) VALUES (3, 5)" ); + s2.execute( "INSERT INTO t(id, a) VALUES (4, 6)" ); } - s1.execute( "INSERT INTO t(id, a) VALUES (1, 7)" ); - s1.execute( "INSERT INTO t(id, a) VALUES (2, 7)" ); + s1.execute( "INSERT INTO t(id, a) VALUES (5, 7)" ); + s1.execute( "INSERT INTO t(id, a) VALUES (6, 7)" ); con.close(); } }