[hibernate-issues] [Hibernate-JIRA] Closed: (HHH-5450) Update and delete in one go

Steve Ebersole (JIRA) noreply at atlassian.com
Mon Aug 9 14:51:41 EDT 2010


     [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-5450?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Steve Ebersole closed HHH-5450.
-------------------------------

    Resolution: Rejected

> Update and delete in one go
> ---------------------------
>
>                 Key: HHH-5450
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-5450
>             Project: Hibernate Core
>          Issue Type: Task
>          Components: core, envers
>            Reporter: Vishal Agarwal
>
> Hi,
> I have a query not exactly an issue. I am using envers for auditing purpose.
> In my application, at the time of deletion. i need to update some fields also (E.g "reason for delete" etc). This can be acheived by first updating the entity and then remove it. But in this way there are 2 versions are created in audit table (By obviuos reason). I do not want these two versions and just want only version which is due to deletion (with "reason for delete" value).
> Is it possible by hibernate/envers?

-- 
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