HHH-9055 : Tests that fail due to association with an entity with @IdClass

This commit is contained in:
Gail Badner 2014-03-25 23:02:19 -07:00
parent b9066312a6
commit 17a456867b
3 changed files with 6 additions and 0 deletions

View File

@ -34,12 +34,14 @@ import org.hibernate.envers.test.Priority;
import org.hibernate.envers.test.entities.ids.MulId;
import org.hibernate.envers.test.entities.onetomany.ids.SetRefEdMulIdEntity;
import org.hibernate.envers.test.entities.onetomany.ids.SetRefIngMulIdEntity;
import org.hibernate.testing.FailureExpectedWithNewMetamodel;
import org.junit.Test;
/**
* @author Adam Warski (adam at warski dot org)
*/
@FailureExpectedWithNewMetamodel( jiraKey = "HHH-9055 : Association with an entity with @IdClass is broken." )
public class BasicSetWithMulId extends BaseEnversJPAFunctionalTestCase {
private MulId ed1_id;
private MulId ed2_id;

View File

@ -33,12 +33,14 @@ import org.hibernate.envers.test.entities.ids.MulId;
import org.hibernate.envers.test.entities.ids.MulIdTestEntity;
import org.hibernate.envers.test.entities.onetomany.detached.ids.SetRefCollEntityMulId;
import org.hibernate.envers.test.tools.TestTools;
import org.hibernate.testing.FailureExpectedWithNewMetamodel;
import org.junit.Test;
/**
* @author Adam Warski (adam at warski dot org)
*/
@FailureExpectedWithNewMetamodel( jiraKey = "HHH-9055 : Association with an entity with @IdClass is broken." )
public class BasicDetachedSetWithMulId extends BaseEnversJPAFunctionalTestCase {
private MulId str1_id;
private MulId str2_id;

View File

@ -35,6 +35,7 @@ import org.hibernate.envers.test.entities.ids.MulId;
import org.hibernate.envers.test.entities.onetomany.ids.SetRefEdMulIdEntity;
import org.hibernate.envers.test.entities.onetomany.ids.SetRefIngMulIdEntity;
import org.hibernate.envers.test.tools.TestTools;
import org.hibernate.testing.FailureExpectedWithNewMetamodel;
import org.junit.Test;
@ -44,6 +45,7 @@ import static org.junit.Assert.assertEquals;
* @author Adam Warski (adam at warski dot org)
*/
@SuppressWarnings({"unchecked"})
@FailureExpectedWithNewMetamodel( jiraKey = "HHH-9055 : Association with an entity with @IdClass is broken." )
public class MulIdOneToManyQuery extends BaseEnversJPAFunctionalTestCase {
private MulId id1;
private MulId id2;