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

Erik-Berndt Scheper (JIRA) noreply at atlassian.com
Mon Aug 9 06:38:40 EDT 2010


    [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-5450?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=38008#action_38008 ] 

Erik-Berndt Scheper commented on HHH-5450:
------------------------------------------

Please use the user forum for this.

http://community.jboss.org/en/envers?view=discussions



> 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