Sorry I should've pointed out that I'm not using the code generator.
On Wednesday, September 11, 2019 at 3:54:07 PM UTC-4, Max Kremer wrote:
>
> 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/515029d4-af7a-45c1-8b3a-4d43bcfbf6c7%40googlegroups.com.