Available in versions: Dev (3.22) | Latest (3.21) | 3.20 | 3.19 | 3.18 | 3.17 | 3.16 | 3.15 | 3.14 | 3.13 | 3.12

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.

Record internal flags and dirty tracking

Supported by ✅ Open Source Edition   ✅ Express Edition   ✅ Professional Edition   ✅ Enterprise Edition

All of jOOQ's Record types and subtypes maintain an internal state for every column value. This state is composed of three elements:

An additional operation is available on records in order to reset a value to its original, as well as to reset the touched or changed flag:

The purpose of the above information is for jOOQ's CRUD operations to know, which values need to be stored back to the database, and which values have been left untouched or unmodified, respectively.

References to this page

Feedback

Do you have any feedback about this page? We'd love to hear it!

The jOOQ Logo