Why dont you just have the template insert the last modified date itself,
that way when the template is looping there is no last modified field in
the loop - but instead for each persistent field there are two persistent
fields - if you knwow what I mean.

cheesr
dim

On Mon, 17 Sep 2001, Clarance Howatt wrote:

> I need to create an audit trail in the database.  To do this I need to
> include in each entity bean a last_modified_date persistent field with the
> appropriate setter method.  I then modified the template so that the code to
> set this field is included in all of the other setters within the entity
> bean.  This  is great except... How can I modify the template so that it
> inserts code for all persistent fields except the LAST_MODIFIED_DATE field.
> I think that I would need a tag like ifMethodNameEqual
> 
> C.
> 
> _______________________________________________
> Xdoclet-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/xdoclet-user
> 


_______________________________________________
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to