more integer pk in java tests

This commit is contained in:
Pere Diaz Bou
2025-06-17 15:32:44 +02:00
parent de1f29dadf
commit b86491c54f
2 changed files with 2 additions and 2 deletions

View File

@@ -22,7 +22,7 @@ public class IntegrationTest {
@Test
void create_table_multi_inserts_select() throws Exception {
Statement stmt = createDefaultStatement();
stmt.execute("CREATE TABLE users (id INT PRIMARY KEY, username TEXT);");
stmt.execute("CREATE TABLE users (id INTEGER PRIMARY KEY, username TEXT);");
stmt.execute("INSERT INTO users VALUES (1, 'seonwoo');");
stmt.execute("INSERT INTO users VALUES (2, 'seonwoo');");
stmt.execute("INSERT INTO users VALUES (3, 'seonwoo');");

View File

@@ -63,7 +63,7 @@ class JDBC4ConnectionTest {
@Test
void prepare_simple_create_table() throws Exception {
connection.prepare("CREATE TABLE users (id INT PRIMARY KEY, username TEXT)");
connection.prepare("CREATE TABLE users (id INTEGER PRIMARY KEY, username TEXT)");
}
@Test