diff --git a/hibernate-core/src/test/java/org/hibernate/test/cache/polymorphism/PolymorphicCacheTest.java b/hibernate-core/src/test/java/org/hibernate/test/cache/polymorphism/PolymorphicCacheTest.java index 095edb2360..8b208ad8a9 100644 --- a/hibernate-core/src/test/java/org/hibernate/test/cache/polymorphism/PolymorphicCacheTest.java +++ b/hibernate-core/src/test/java/org/hibernate/test/cache/polymorphism/PolymorphicCacheTest.java @@ -30,6 +30,7 @@ import static org.junit.Assert.fail; import org.hibernate.Session; import org.hibernate.WrongClassException; +import org.hibernate.testing.FailureExpectedWithNewMetamodel; import org.hibernate.testing.TestForIssue; import org.hibernate.testing.junit4.BaseCoreFunctionalTestCase; import org.junit.Test; @@ -39,6 +40,7 @@ import org.junit.Test; * @author Brett Meyer */ @TestForIssue(jiraKey = "HHH-9028") +@FailureExpectedWithNewMetamodel(message = "AbstractEntityPersister#cacheAccessStrategy is null -- @Cache not getting handled correctly?") public class PolymorphicCacheTest extends BaseCoreFunctionalTestCase { @Override protected Class[] getAnnotatedClasses() {