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

488 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 best solutions below

2
On

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