You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openjpa.apache.org by "Rick Curtis (JIRA)" <ji...@apache.org> on 2014/01/24 16:18:45 UTC
[jira] [Commented] (OPENJPA-2474) add to persistence events a way
to retrieve the changes involved
[ 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)