Checks the version column of the modified beans.
Version consistency allows the bean state to be cached between transactions instead of read from a database. The bean state is verified by primary key and version column values. This occurs during a custom query (for dirty instances only) or commit (for both clean and dirty instances).
The version column must be a numeric type, and must be in the primary table. You must provide appropriate update triggers for this column.
consistency (sun-cmp-mappings.xml)
The following table describes subelements for the check-version-of-accessed-instances element.
Table A–18 check-version-of-accessed-instances Subelements
Element |
Required |
Description |
---|---|---|
only one |
Specifies the name of the version column. |