I am using the InsertStatement class and I want to pass the sequence generation code. How do I do that? I tried following, but did not work.
InsertStatement statement1 = new InsertStatement("saas", "OAuth2AppTemplate");
statement1.addColumnValue("id",
new SelectSequencesStatement("saas.seq.nextval"));
Any inputs?
Okay, after lot of digging into the Liquibase documentation I found it.
And this then generates the query appropriately.