diff --git a/hibernate-core/src/test/java/org/hibernate/test/hql/SizeAttributeReferenceTest.java b/hibernate-core/src/test/java/org/hibernate/test/hql/SizeAttributeReferenceTest.java index 434b3ac8c2..4cbe4668e1 100644 --- a/hibernate-core/src/test/java/org/hibernate/test/hql/SizeAttributeReferenceTest.java +++ b/hibernate-core/src/test/java/org/hibernate/test/hql/SizeAttributeReferenceTest.java @@ -7,6 +7,7 @@ package org.hibernate.test.hql; import java.util.Set; +import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.Id; import javax.persistence.ManyToOne; @@ -60,6 +61,7 @@ public class SizeAttributeReferenceTest extends BaseNonConfigCoreFunctionalTestC public EntityWithAttributeNamedSize parent; @OneToMany( mappedBy = "parent" ) public Set children; + @Column(name="`size`") private String size; }