Julien,
First thanks for looking into patching this.
Second I wanted to apologize for not having an opportunity to look yet.
I do plan to, but have just been swamped with work on 3.6.
On Fri, 2010-07-23 at 13:53 +0000, Julien HENRY wrote:
Hi Hibernate dev team,
I am working on a patch to fix HHH-1570. The patch is highly inspired from the
old patch attached to the JIRA issue with a few modifications. After applying my
patch the test case (see patch HHH-1570-it.patch attached to the issue) runs
fine but there is a regression on another test: FumTest.testKeyManyToOne()
Here is the error on the test:
testKeyManyToOne(org.hibernate.test.legacy.FumTest) Time elapsed: 0.61 sec <<<
ERROR!
org.hibernate.NonUniqueObjectException: a different object with the same
identifier value was already associated with the session:
[org.hibernate.test.legacy.Middle#org.hibernate.test.legacy.MiddleKey@57def1]
at
org.hibernate.engine.StatefulPersistenceContext.checkUniqueness(StatefulPersistenceContext.java:637)
at
org.hibernate.event.def.DefaultDeleteEventListener.onDelete(DefaultDeleteEventListener.java:120)
at
org.hibernate.event.def.DefaultDeleteEventListener.onDelete(DefaultDeleteEventListener.java:73)
at org.hibernate.impl.SessionImpl.fireDelete(SessionImpl.java:955)
at org.hibernate.impl.SessionImpl.delete(SessionImpl.java:933)
at org.hibernate.test.legacy.FumTest.testKeyManyToOne(FumTest.java:677)
Can someone review my patch (attached) and help me to fix the regression as I
don't understand the error.
Thanks
Julien
_______________________________________________ hibernate-dev mailing list
hibernate-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/hibernate-dev
--
Steve Ebersole <steve(a)hibernate.org>
http://hibernate.org