I'm using dslCtx.createNewRecord(TABLE) to create a record, mapping 
from my objectgraph (not jooq pojos) to jooq record. Record is an 
UpdatableRecord with IDENTITY.
Issue is my mapper map also KEY/IDENTITY that is null so operation that is 
an insert (due to null key) fail cause jooq specify ID on an identity table.

Question is modify my mapper the only way (avoiding to place identity field 
on record if value is null) or
are there some other way to do automatically before record.insert(), i.e. 
removing identity field from record?

All in all can I remove a field from jooq record?


You received this message because you are subscribed to the Google Groups "jOOQ 
User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jooq-user+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to