[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-5967) Envers Fetching Indexed Collection - Duplicate Row Exception
Adam Warski (JIRA)
noreply at atlassian.com
Thu Jun 2 05:39:29 EDT 2011
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-5967?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=42459#action_42459 ]
Adam Warski commented on HHH-5967:
----------------------------------
Pull request: https://github.com/hibernate/hibernate-core/pull/94
Thanks to olilo!
> Envers Fetching Indexed Collection - Duplicate Row Exception
> ------------------------------------------------------------
>
> Key: HHH-5967
> URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-5967
> Project: Hibernate Core
> Issue Type: Bug
> Components: envers
> Affects Versions: 3.6.1
> Environment: Hibernate 3.6.1, MySQL 5.1.35
> Reporter: Kevin Jordan
> Assignee: Adam Warski
>
> I'm having problems reading from Envers for the revision of something with an indexed collection.
> Currently the revision shows when things are reordered that there is an entry with a create REVTYPE under the new index and a delete REVTYPE under the old index. When it goes to pull, this causes an "org.hibernate.HibernateException: More than one row with the given identifier was found: {REV=<MyRevisionEntityType>, collection_id=1, obj_id=1}, for class: <MyClass_AUD>".
> I am using the ValidityAuditStrategy now to try and fix the slowness I was having described in my post at https://forum.hibernate.org/viewtopic.php?f=1&t=1009676, so I'm not sure if that has anything to do with it.
--
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