diff --git a/hibernate-core/src/test/java/org/hibernate/metamodel/internal/source/annotations/entity/SecondaryTableTest.java b/hibernate-core/src/test/java/org/hibernate/metamodel/internal/source/annotations/entity/SecondaryTableTest.java index d530d2459d..fab4e1f208 100644 --- a/hibernate-core/src/test/java/org/hibernate/metamodel/internal/source/annotations/entity/SecondaryTableTest.java +++ b/hibernate-core/src/test/java/org/hibernate/metamodel/internal/source/annotations/entity/SecondaryTableTest.java @@ -75,6 +75,7 @@ public class SecondaryTableTest extends BaseAnnotationBindingTestCase { RelationalValueBinding valueBinding = nameAttrBinding.getRelationalValueBindings().get( 0 ); assertFalse( valueBinding.isDerived() ); assertSame( table, valueBinding.getValue().getTable() ); + assertSame( column, valueBinding.getValue() ); } @Test