[
https://issues.apache.org/jira/browse/OPENJPA-2030?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Bengt Rodehav updated OPENJPA-2030:
-----------------------------------
Attachment: AuditLogTest.zip
Test case to show that only updated values are initialized when using the
SaveFieldManager in a @PreUpdate callback.
> Build auditing facility
> -----------------------
>
> Key: OPENJPA-2030
> URL: https://issues.apache.org/jira/browse/OPENJPA-2030
> Project: OpenJPA
> Issue Type: New Feature
> Components: kernel
> Reporter: Pinaki Poddar
> Attachments: AuditLogTest.zip
>
>
> Auditing or change tracking is an important function for transactional
> systems.
> We have sufficient support to build a facility that will allow the user to
> mark an entity @Auditable and an AuditManager to capture the changes in a
> transaction for @Audiatble instance via existing callbacks.
> Such an AuditManager should be configurable for the user to decide where the
> audit information being persisted (could be the same database, a separate
> database or something entirely different such as JMS queue or a file (or a
> printer, as someone had suggested).
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira