|previous : next
This documentation is for the unreleased development version of jOOQ. Click on the above version links to get this documentation for a supported version of jOOQ.
Return all columns on store
Applies to ✅ Open Source Edition ✅ Express Edition ✅ Professional Edition ✅ Enterprise Edition
The identity value is not the only value that is generated by default. Specifically, there may be triggers that are used for auditing or other reasons, which generate
LAST_UPDATE_BY values in a record. Users who wish to also automatically fetch these values after all
update() calls may do so by specifying the
returnAllOnUpdatableRecord setting. This setting depends on the availability of INSERT .. RETURNING,
UPDATE .. RETURNING, and
DELETE .. RETURNING statements, which are not available from all databases, in case of which a
refresh() call may be issued, creating a separate round trip to the server.
Settings settings = new Settings() .withReturnAllOnUpdatableRecord(true); // Defaults to false