SequenceSupport support = this.dialect.getSequenceSupport();
assertEquals("sequence", support.parseSequence("SELECT sequence.nextval"));
assertEquals("sequence", support.parseSequence("SELECT sequence.currval"));
assertEquals("sequence", support.parseSequence("SELECT sequence.nextval, * FROM table"));
assertEquals("sequence", support.parseSequence("SELECT sequence.currval, * FROM table"));
assertEquals("sequence", support.parseSequence("INSERT INTO table VALUES (sequence.nextval, 0)"));
assertEquals("sequence", support.parseSequence("INSERT INTO table VALUES (sequence.currval, 0)"));
assertEquals("sequence", support.parseSequence("UPDATE table SET id = sequence.nextval"));
assertEquals("sequence", support.parseSequence("UPDATE table SET id = sequence.currval"));
assertNull(support.parseSequence("SELECT NEXT VALUE FOR sequence"));