|
In hibernate-core/src/test/java/org/hibernate/test/ops/Hoarder.hbm.xml:
<list name="subItemsBackref" lazy="true" cascade="persist,merge,save-update">
<key column="parentItem" not-null="true"/>
<index column="index"/>
<one-to-many class="SubItem"/>
</list>
Hibernate turns it into a bag.
This causes a failure in org.hibernate.test.ops.testTopLevelUnidirOneToManyBackrefWithRemovedElement(), but not sure why.
|