Last Updated Field

This feature is similar to the Audit Mappings feature. It is a field which can be added to database tables to contain extra information about the modification time of each record for reporting purposes.

The feature is only available for entity classes and it is updated only by certain entity operations

Switching on the last updated field functionality for an entity has the following effects:

The following steps must be taken to avail of this feature:

Invoking operations with the following stereotypes cause the lastWritten field to be set:

Note: Unlike the version number field utilized for the optimistic locking feature, there is no requirement to add the last written field to structures involved in non-standard insert and modify operations. If the last updated field feature has been enabled for an entity, this field is always updated for the operation stereotypes listed above by the infrastructure data access code regardless of whether the field is present in the structure being used.