|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 computed 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 different types of computed columns. Users who wish to also automatically fetch these values after all
update() calls may do so by specifying the
returnDefaultOnUpdatableRecord 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() .withReturnComputedOnUpdatableRecord(true); // Defaults to false