提交 c62a38a7 authored 作者: Thomas Mueller's avatar Thomas Mueller

DatabaseEventListener now calls setProgress whenever a statement starts and ends.

上级 6de905e8
...@@ -256,7 +256,6 @@ public class TestDatabaseEventListener extends TestBase implements DatabaseEvent ...@@ -256,7 +256,6 @@ public class TestDatabaseEventListener extends TestBase implements DatabaseEvent
} }
} }
if (state == STATE_STATEMENT_START) { if (state == STATE_STATEMENT_START) {
System.out.println("name = " + name);
if (name.equals("select * from test")) { if (name.equals("select * from test")) {
calledStatementStart = true; calledStatementStart = true;
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论