how to get inserted/updated object after inserting/updating with jooq generated dao

480 views Asked by At

I generated DictOrgDao from dict_org table in my postgres DB, using jooq code generation tool. This dao has common methods like insert and update but they all return void. Is there any way to get inserted/updated object after inserting/updating with jooq generated dao?

1

There are 1 answers

2
Lukas Eder On

This should work out of the box if your POJOs are mutable. Here are the relevant flags in Settings: