{
SequenceSupport support = this.dialect.getSequenceSupport();
assertEquals("sequence", support.parseSequence("SELECT GEN_ID(sequence, 1) FROM RDB$DATABASE"));
assertEquals("sequence", support.parseSequence("SELECT GEN_ID(sequence, 1), * FROM table"));
assertEquals("sequence", support.parseSequence("INSERT INTO table VALUES (GEN_ID(sequence, 1), 0)"));
assertEquals("sequence", support.parseSequence("UPDATE table SET id = GEN_ID(sequence, 1)"));
assertNull(support.parseSequence("SELECT NEXT VALUE FOR test"));
assertNull(support.parseSequence("SELECT NEXT VALUE FOR test, * FROM table"));
assertNull(support.parseSequence("INSERT INTO table VALUES (NEXT VALUE FOR test)"));
assertNull(support.parseSequence("UPDATE table SET id = NEXT VALUE FOR test"));
assertNull(support.parseSequence("SELECT * FROM table"));