Hi Buddhika,
I'm more than happy to help you with your support request, but in order to be able to scale our support efforts at Data Geekery, I hope you understand that we'll have this discussion not privately - but on the jOOQ User Group:
https://groups.google.com/forum/#!forum/jooq-user
Thanks for replying to future E-Mails directly on the user group.
Regarding your questions: Of course, you *could* just concatenate string pieces to a full query string and then have jOOQ execute the string directly, but why would you use jOOQ, then? jOOQ is about composing your query directly in Java via jOOQ's API. Essentially, you can always choose to use either jOOQ's DSL API (best suited for static SQL) or model API (best suited for dynamic SQL):
DSL API Example:
DSL.using(configuration)
.update(A)
.set(A.FIELD1, "This is Firebird")
.set(A.FIELD2, 2)
.where(A.ID.eq(20))
.execute();
Model API Example:
UpdateQuery<ARecord> query = DSL.using(configuration).updateQuery(A);
query.addValue(A.FIELD1, "This is Firebird");
query.addValue(A.FIELD2, 2);
query.addConditions(A.ID.eq(20));
query.execute();