[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-3711) Add reverse operation support
jason shi (JIRA)
noreply at atlassian.com
Tue Apr 21 04:31:17 EDT 2009
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-3711?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=32938#action_32938 ]
jason shi commented on HHH-3711:
--------------------------------
For Example, there is entity named CustomerAccount with properties:customerId & amount
At Rev 0, create a record: CustomerAccount (customerId =1,amount=100)
At Rev 1, change value of amount to 200, CustomerAccount (customerId ,amount=200)
At Rev 2, change value of amount to 300, CustomerAccount (customerId ,amount=300)
If the customer don't want the change of Rev2, then we need restore Rev1 from audit table to original table,
and insert a new Rev 4 to audit tables: CustomerAccount (customerId ,amount=200)
This reversal operation is base on the single CustomerAccount, not whole database reversal
> 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