HHH-7138 - Hibernate implements JPA @OneToMany collection versioning incorrectly
This commit is contained in:
parent
36c135ab66
commit
3d3ac538d8
|
@ -27,6 +27,7 @@ import org.hibernate.Session;
|
||||||
|
|
||||||
import org.junit.Test;
|
import org.junit.Test;
|
||||||
|
|
||||||
|
import org.hibernate.testing.FailureExpected;
|
||||||
import org.hibernate.testing.TestForIssue;
|
import org.hibernate.testing.TestForIssue;
|
||||||
import org.hibernate.testing.junit4.BaseCoreFunctionalTestCase;
|
import org.hibernate.testing.junit4.BaseCoreFunctionalTestCase;
|
||||||
|
|
||||||
|
@ -43,6 +44,7 @@ public class JpaSpecVersionValueUpdatingTest extends BaseCoreFunctionalTestCase
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
@FailureExpected( jiraKey = "HHH-7138" )
|
||||||
public void testVersionNotIncrementedOnModificationOfNonOwningCollectionNonCascaded() {
|
public void testVersionNotIncrementedOnModificationOfNonOwningCollectionNonCascaded() {
|
||||||
Session session = openSession();
|
Session session = openSession();
|
||||||
session.beginTransaction();
|
session.beginTransaction();
|
||||||
|
|
Loading…
Reference in New Issue