Initial pass on step function

This commit is contained in:
김선우
2025-01-18 00:36:11 +09:00
parent 5fc5f650cd
commit a3a31e787c
8 changed files with 100 additions and 38 deletions

View File

@@ -64,7 +64,9 @@ class JDBC4ConnectionTest {
@Test
void exec_simple_create_table() throws Exception {
Statement stmt = createDefaultStatement();
stmt.execute("CREATE TABLE users (id PRIMARY KEY INT, username TEXT)");
stmt.execute("CREATE TABLE users (id INT PRIMARY KEY, username TEXT);");
stmt.execute("INSERT INTO users VALUES (1, 'seonwoo');");
stmt.execute("SELECT * FROM users;");
}
private Statement createDefaultStatement() throws SQLException {