[hibernate-issues] [Hibernate-JIRA] Resolved: (HHH-3823) Obtain current revision entity by AuditReader
Adam Warski (JIRA)
noreply at atlassian.com
Thu Apr 30 03:38:18 EDT 2009
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-3823?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Adam Warski resolved HHH-3823.
------------------------------
Resolution: Fixed
Fix Version/s: 3.5
Assignee: Adam Warski
Added to trunk. Please test if this suits your needs.
> Obtain current revision entity by AuditReader
> ---------------------------------------------
>
> Key: HHH-3823
> URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-3823
> Project: Hibernate Core
> Issue Type: New Feature
> Components: envers
> Reporter: Jan Ritzenhoff
> Assignee: Adam Warski
> Fix For: 3.5
>
>
> Implement a new method in the AuditReader class, like:
> auditReader.getCurrentRevisionEntity(boolean create)
> The method would return the current revision entity, letting you to fill any of the custom fields. The create parameter would specify if a revision entity should be created, even if no audited entities have been modified. So you dont have to lookup anything in the RevisionListener and you can easy pass some revision-information from the front to the back.
> Based on forum discussion:
> http://www.jboss.org/index.html?module=bb&op=viewtopic&t=151959
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the hibernate-issues
mailing list