[hibernate-issues] [Hibernate-JIRA] Created: (HHH-6753) Envers WorkUnits: Problems with merge
S M (JIRA)
noreply at atlassian.com
Fri Oct 21 09:23:19 EDT 2011
Envers WorkUnits: Problems with merge
-------------------------------------
Key: HHH-6753
URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-6753
Project: Hibernate Core
Issue Type: Bug
Components: envers
Affects Versions: 3.6.2
Reporter: S M
As Hibernate triggers a commit, the Envers-Listener notices a DELETE followed by an ADD for the same entity (that's how my code is working...). I'd expect that Envers creates an UPDATE-Revision for this entity. But the AuditProcess tries to merge both actions and ends up with no action. Hence, no revision is written into the revision table. This is due to the fact that DelWorkUnit.merge(AddWorkUnit) returns NULL.
So why is that? Why is this method not returning a new ModWorkUnit?
http://community.jboss.org/thread/173930
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the hibernate-issues
mailing list