diff --git a/hibernate-core/src/test/java/org/hibernate/test/annotations/beanvalidation/DDLTest.java b/hibernate-core/src/test/java/org/hibernate/test/annotations/beanvalidation/DDLTest.java index 953a0eb95c..87fb87ddff 100644 --- a/hibernate-core/src/test/java/org/hibernate/test/annotations/beanvalidation/DDLTest.java +++ b/hibernate-core/src/test/java/org/hibernate/test/annotations/beanvalidation/DDLTest.java @@ -69,7 +69,7 @@ public class DDLTest extends BaseCoreFunctionalTestCase { @FailureExpectedWithNewMetamodel @Test public void testApplyOnManyToOne() throws Exception { - Column column = SchemaUtil.getColumn( TvOwner.class, "tv", metadata() ); + Column column = SchemaUtil.getColumn( TvOwner.class, "tv_serial", metadata() ); assertEquals( "Validator annotations not applied on associations", false, column.isNullable() ); }