[ 
https://issues.apache.org/jira/browse/OPENJPA-2474?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13881035#comment-13881035
 ] 

Rick Curtis commented on OPENJPA-2474:
--------------------------------------

Please take a look at the OpenJPA audit support[1]. I believe it offers much of 
what you're requesting.

[1] 
http://openjpa.apache.org/builds/2.2.0/apache-openjpa/docs/ref_guide_audit.html

> add to persistence events a way to retrieve the changes involved
> ----------------------------------------------------------------
>
>                 Key: OPENJPA-2474
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-2474
>             Project: OpenJPA
>          Issue Type: New Feature
>            Reporter: leonardo kenji shikida
>            Priority: Minor
>
> since events such as @PostUpdate only receives the object itself, it's hard 
> to do something more useful than just logging when the change occurred. A 
> more useful feature would be to retrieve the changes from some context object 
> like it´s done for example with this 
> http://docs.doctrine-project.org/en/2.0.x/reference/events.html#preupdate - 
> see the "PreUpdateEventArgs" concept.
> @Auditable maybe?



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to