HHH-9245 : <list> mapped in hbm.xml ends up as a bag (test case)

This commit is contained in:
Gail Badner 2014-06-13 17:48:17 -07:00
parent db3fea1ad0
commit e361def028

View File

@ -35,6 +35,7 @@
import org.hibernate.event.service.spi.EventListenerRegistry; import org.hibernate.event.service.spi.EventListenerRegistry;
import org.hibernate.event.spi.EventType; import org.hibernate.event.spi.EventType;
import org.hibernate.testing.FailureExpected; import org.hibernate.testing.FailureExpected;
import org.hibernate.testing.FailureExpectedWithNewMetamodel;
import org.hibernate.testing.junit4.BaseCoreFunctionalTestCase; import org.hibernate.testing.junit4.BaseCoreFunctionalTestCase;
import static org.junit.Assert.assertEquals; import static org.junit.Assert.assertEquals;
@ -860,7 +861,7 @@ public void testNestedUnidirOneToManyBackrefWithNewElement() {
} }
@Test @Test
//@FailureExpected( jiraKey = "HHH-9106" ) @FailureExpectedWithNewMetamodel( jiraKey = "HHH-9245" )
public void testTopLevelUnidirOneToManyBackrefWithRemovedElement() { public void testTopLevelUnidirOneToManyBackrefWithRemovedElement() {
Item item1 = new Item(); Item item1 = new Item();
item1.setName( "item1 name" ); item1.setName( "item1 name" );