[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-3711) Add reverse operation support
Kaizer (JIRA)
noreply at atlassian.com
Tue Apr 21 04:41:21 EDT 2009
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-3711?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=32939#action_32939 ]
Kaizer commented on HHH-3711:
-----------------------------
Thanks Jason. But cant you retrieve the entity at that revision and then call save on that entity?That would update the main table and create a new revision. The problem I'm facing with this approach is because I've enabled optimistic locking. Since the rowVersion fields are different, I get an exception. Are you facing the same issue? I'm looking for a workaround right now.
Regards
Kaizer
> Add reverse operation support
> -----------------------------
>
> Key: HHH-3711
> URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-3711
> Project: Hibernate Core
> Issue Type: Improvement
> Components: envers
> Affects Versions: 3.5
> Reporter: jason shi
>
> In some enterprise application, there is a requirement for reversing current state to a history revision.
> the reverse operation is base on an object (and it's sub objects)
--
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