I'm trying to perform some simple CRUD operations with JPA annotated Pojos.
I've run into the need of returning the generated id (Identity columns) for
records that are inserted. Seems that the best way to do this is with
UpdateableRecord
To date we've been using CustomRecord and its hasn't really come up
public class SpendEventRecord extends CustomRecord<SpendEventRecord> {
But I can't figure out how to create UpdatebleRecord instances based on my
pojos.
Related:
https://stackoverflow.com/questions/50627182/jooq-after-executeinsert-need-to-know-the-auto-generated-id
https://stackoverflow.com/questions/43552078/jooq-exclude-id-field-when-inserting-from-pojo
https://stackoverflow.com/questions/8127378/jooq-insert-query-with-returning-generated-keys
--
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/jooq-user/57f40f74-7dca-466c-abad-584d063c0240%40googlegroups.com.