Closed bee-corn closed 2 years ago
test("create & insert_0") { val statement = connect.createStatement() statement.execute("create table t_create (tid integer, name string)") // 线程阻塞不会解决这个问题 statement.execute("insert into t_create values(1, 'temp')") } insert方法会报初始化错误或找不到表错误
@zaiyuan-ljw @bee-corn
SqlSession单例应该是不合适的 SqlSession
test("create & insert_0") { val statement = connect.createStatement() statement.execute("create table t_create (tid integer, name string)") // 线程阻塞不会解决这个问题 statement.execute("insert into t_create values(1, 'temp')") } insert方法会报初始化错误或找不到表错误