mirror of
https://github.com/querydsl/querydsl.git
synced 2026-06-13 21:01:01 +08:00
adapt nextVal() test to the recently modified NEXTVAL operator pattern
This commit is contained in:
parent
4964b56845
commit
26158ddac6
@ -105,8 +105,8 @@ public class SQLServer2012TemplatesTest extends AbstractSQLTemplatesTest {
|
||||
|
||||
@Test
|
||||
public void nextVal() {
|
||||
Operation<String> nextval = ExpressionUtils.operation(String.class, SQLOps.NEXTVAL, ConstantImpl.create("myseq"));
|
||||
assertEquals("myseq.nextval", new SQLSerializer(new Configuration(new SQLServerTemplates())).handle(nextval).toString());
|
||||
Operation<String> nextval = ExpressionUtils.operation(String.class, SQLOps.NEXTVAL, ConstantImpl.create("myseq"));
|
||||
assertSerialized(nextval, "next value for myseq");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user