[hibernate-issues] [Hibernate-JIRA] Created: (HHH-3823) Obtain current revision entity by AuditReader
Jan Ritzenhoff (JIRA)
noreply at atlassian.com
Sun Mar 22 09:18:38 EDT 2009
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
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