[hibernate-issues] [Hibernate-JIRA] Closed: (HHH-1187) Cannot delete a object having a delete-orphan collection when user_rollback_id is set

Steve Ebersole (JIRA) noreply at atlassian.com
Mon Mar 21 13:00:59 EDT 2011


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

Steve Ebersole closed HHH-1187.
-------------------------------


Closing stale resolved issues

> Cannot delete a object having a delete-orphan collection when user_rollback_id is set
> -------------------------------------------------------------------------------------
>
>                 Key: HHH-1187
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-1187
>             Project: Hibernate Core
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 3.1 rc3
>         Environment: I think it used to work
>            Reporter: Emmanuel Bernard
>            Assignee: Steve Ebersole
>            Priority: Critical
>             Fix For: 3.1
>
>
> test in orphan.OrphanIdRollbackTest
> org.hibernate.AssertionFailure: null identifier
> 	at org.hibernate.engine.EntityKey.<init>(EntityKey.java:34)
> 	at org.hibernate.engine.Collections.processDereferencedCollection(Collections.java:63)
> 	at org.hibernate.engine.Collections.processUnreachableCollection(Collections.java:37)
> 	at org.hibernate.event.def.AbstractFlushingEventListener.flushCollections(AbstractFlushingEventListener.java:217)
> 	at org.hibernate.event.def.AbstractFlushingEventListener.flushEverythingToExecutions(AbstractFlushingEventListener.java:77)
> 	at org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:26)
> 	at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:908)
> 	at org.hibernate.impl.SessionImpl.managedFlush(SessionImpl.java:344)
> 	at org.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:106)
> 	at org.hibernate.test.orphan.OrphanIdRollbackTest.testOrphanDeleteOnDelete(OrphanIdRollbackTest.java:38)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at org.hibernate.test.TestCase.runTest(TestCase.java:140)
> 	at com.intellij.rt.execution.junit2.JUnitStarter.main(JUnitStarter.java:31)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
> 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
> 	at com.intellij.rt.execution.application.AppMain.main(AppMain.java:86)

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