Re: Problem with inlining sequence field with plain values in insert statement

2013-08-27 Thread Lukas Eder
Hi Rick, Thanks for reporting this. This is a documentation bug. The statement should really read: create.insertInto(AUTHOR, AUTHOR.ID, AUTHOR.FIRST_NAME, AUTHOR.LAST_NAME) .values(S_AUTHOR_ID.nextval(), val("William"), val("Shakespeare")); Where .val() is static-imported from org.jooq.imp

Problem with inlining sequence field with plain values in insert statement

2013-08-27 Thread latrine00
Hi, I tried your code example in the manual to inline sequence value fetches: create.insertInto(AUTHOR, AUTHOR.ID, AUTHOR.FIRST_NAME, AUTHOR.LAST_NAME) .values(S_AUTHOR_ID.nextval(), "William", "Shakespeare"); Unfortunately I don't get it compiled (Version 3.1.0). The reason is that org.