[
http://opensource.atlassian.com/projects/hibernate/browse/HHH-4087?page=c...
]
Brian commented on HHH-4087:
----------------------------
3.1.3 version of AbstractEntityPersister which doesn't exhibit the bug:
http://anonsvn.jboss.org/repos/hibernate/core/tags/v313/src/org/hibernate...
3.2.4.sp1 version of AbstractEntityPersister which exhibits the bug:
http://anonsvn.jboss.org/repos/hibernate/core/tags/JBOSS_EAP_3_2_4_SP1_CP...
Session.flush() Causes AssertionFailure
----------------------------------------
Key: HHH-4087
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-4087
Project: Hibernate Core
Issue Type: Bug
Components: core
Affects Versions: 3.2.4.sp1
Reporter: Brian
After calling Session.save() with an entity, calling Session.flush() causes the following
error.
org.hibernate.AssertionFailure: collection [com.example.myList] was not processed by
flush()
at org.hibernate.engine.CollectionEntry.postFlush(CollectionEntry.java:205)
at
org.hibernate.event.def.AbstractFlushingEventListener.postFlush(AbstractFlushingEventListener.java:333)
at
org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:28)
at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1000)
The mapping used was:
<component name="component" class="Component">
<property name="sequence" column="SEQUENCE"
not-null="false" generated="insert"/>
<list name="myList" table="MY_LIST">
<key column="MY_LIST_KEY"/>
<index column="INDEX_COL"/>
<composite-element class="MyCompositeElement">
<property name="element" column="ELEMENT"/>
</composite-element>
</list>
</component>
--
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....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira