In some applications, it is useful to know when a repository item was most recently modified. The following item descriptor contains a last-modified property:

<item-descriptor name="article" last-modified-property="lastActivity">
  <attribute name="updateLastModified" value="true"/>
<table name=ARTICLES type="primary" ...>
  <property name="lastActivity" data-type="timestamp"/>

Three requirements apply:

Given this example, an article item’s lastActivity property is updated with the current time when the item is added or updated.

Copyright © 1997, 2013 Oracle and/or its affiliates. All rights reserved. Legal Notices