| Three common strategies for versioning instances are supported by standard
metadata. These include state-comparison, timestamp, and version-number.
- state-image involves comparing the values in specific columns to
determine if the database row was changed.
- date-time involves comparing the value in a date-time column in the table.
The first time in a transaction the row is updated, the timestamp value is
updated to the current time.
- version-number involves comparing the value in a numeric column in the table.
The first time in a transaction the row is updated, the version-number column
value is incremented.
version: $Revision: 1.6 $ |