HHH-9279 Disabling new tests as they don't pass with new meta-model

This commit is contained in:
Gunnar Morling 2014-07-09 12:54:31 +02:00 committed by Andrea Boriero
parent 61eadfcabd
commit b3e4ba0b62
2 changed files with 4 additions and 0 deletions

View File

@ -43,6 +43,7 @@ import javax.persistence.Temporal;
import javax.persistence.TemporalType;
import org.hibernate.jpa.test.BaseEntityManagerFunctionalTestCase;
import org.hibernate.testing.FailureExpectedWithNewMetamodel;
import org.junit.Test;
/**
@ -208,6 +209,7 @@ public class ConstructorResultNativeQueryTest extends BaseEntityManagerFunctiona
}
@Test
@FailureExpectedWithNewMetamodel(jiraKey = "HHH-9279", message = "Type given via @ColumnResult is not propagated")
public void testConstructorResultNativeQuerySpecifyingType() {
EntityManager em = getOrCreateEntityManager();
em.getTransaction().begin();

View File

@ -36,6 +36,7 @@ import javax.persistence.SqlResultSetMapping;
import javax.persistence.Table;
import org.hibernate.jpa.test.BaseEntityManagerFunctionalTestCase;
import org.hibernate.testing.FailureExpectedWithNewMetamodel;
import org.junit.Test;
/**
@ -72,6 +73,7 @@ public class ScalarResultNativeQueryTest extends BaseEntityManagerFunctionalTest
}
@Test
@FailureExpectedWithNewMetamodel(jiraKey = "HHH-9279", message = "Type given via @ColumnResult is not propagated")
public void shouldApplyConfiguredTypeForProjectionOfScalarValue() {
EntityManager em = getOrCreateEntityManager();
em.getTransaction().begin();