From 32b4087efcaacb4b931795e631716ec1647b2d3c Mon Sep 17 00:00:00 2001 From: Gail Badner Date: Wed, 2 Dec 2015 16:32:45 -0800 Subject: [PATCH] HHH-10296 : Fix more DB reserved words used by tests (cherry picked from commit 9858d29b56b672d9a8ce4783d5a757d8f89da5e1) --- .../java/org/hibernate/test/hql/SizeAttributeReferenceTest.java | 2 ++ 1 file changed, 2 insertions(+) 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; }