mirror of
https://github.com/hibernate/hibernate-orm
synced 2025-02-18 00:55:16 +00:00
HHH-9245 : <list> mapped in hbm.xml ends up as a bag (test case)
This commit is contained in:
parent
db3fea1ad0
commit
e361def028
@ -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" );
|
||||||
|
Loading…
x
Reference in New Issue
Block a user