HHH-7138 - Hibernate implements JPA @OneToMany collection versioning incorrectly

This commit is contained in:
Steve Ebersole 2012-03-05 15:06:10 -06:00
parent 36c135ab66
commit 3d3ac538d8
1 changed files with 2 additions and 0 deletions

View File

@ -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();