提交 1f0dc25a authored 作者: sugnkeunkim's avatar sugnkeunkim

use different name of db table (add missing code)

上级 010ae270
......@@ -59,7 +59,7 @@ public class TestMvccMultiThreaded2 extends TestBase {
smtm.executeUpdate(sql);
PreparedStatement ps = conn.prepareStatement(
"INSERT INTO test (entity_id, lastUpdated) VALUES (?, ?)");
"INSERT INTO testmvccmultithreaded2 (entity_id, lastUpdated) VALUES (?, ?)");
ps.setInt(1, 1);
ps.setInt(2, 100);
ps.executeUpdate();
......@@ -104,7 +104,7 @@ public class TestMvccMultiThreaded2 extends TestBase {
conn.setAutoCommit(false);
PreparedStatement ps = conn.prepareStatement(
"SELECT * FROM test WHERE entity_id = ? FOR UPDATE");
"SELECT * FROM testmvccmultithreaded2 WHERE entity_id = ? FOR UPDATE");
ps.setString(1, "1");
ResultSet rs = ps.executeQuery();
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论