|The jOOQ User Manual. Multiple Pages : SQL execution : CRUD with UpdatableRecords : Records' internal flags||previous : next|
All of jOOQ's Record types and subtypes maintain an internal state for every column value. This state is composed of three elements:
- The value itself
- The "original" value, i.e. the value as it was originally fetched from the database or
null, if the record was never in the database
- The "changed" flag, indicating if the value was ever changed through the
The purpose of the above information is for jOOQ's CRUD operations to know, which values need to be stored to the database, and which values have been left untouched.