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

--no commit message

--no commit message
上级 cf713424
...@@ -41,10 +41,10 @@ public class TestSequence extends TestBase { ...@@ -41,10 +41,10 @@ public class TestSequence extends TestBase {
Connection conn = getConnection("sequence"); Connection conn = getConnection("sequence");
Statement stat = conn.createStatement(); Statement stat = conn.createStatement();
stat.execute("CREATE SCHEMA TEST"); stat.execute("CREATE SCHEMA TEST");
stat.execute("CREATE SEQUENCE TEST.TESTSEQ"); stat.execute("CREATE SEQUENCE TEST.TEST_SEQ");
stat.execute("SET SCHEMA_SEARCH_PATH PUBLIC, TEST"); stat.execute("SET SCHEMA_SEARCH_PATH PUBLIC, TEST");
stat.execute("CALL TESTSEQ.NEXTVAL"); stat.execute("CALL TEST_SEQ.NEXTVAL");
stat.execute("CALL TESTSEQ.CURRVAL"); stat.execute("CALL TEST_SEQ.CURRVAL");
conn.close(); conn.close();
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论