Skip to content

Commit 9858d29

Browse files
committed
HHH-10296 : Fix more DB reserved words used by tests
1 parent 2030aa7 commit 9858d29

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

hibernate-core/src/test/java/org/hibernate/test/hql/SizeAttributeReferenceTest.java

+2
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
package org.hibernate.test.hql;
88

99
import java.util.Set;
10+
import javax.persistence.Column;
1011
import javax.persistence.Entity;
1112
import javax.persistence.Id;
1213
import javax.persistence.ManyToOne;
@@ -60,6 +61,7 @@ public static class EntityWithAttributeNamedSize {
6061
public EntityWithAttributeNamedSize parent;
6162
@OneToMany( mappedBy = "parent" )
6263
public Set<EntityWithAttributeNamedSize> children;
64+
@Column(name="`size`")
6365
private String size;
6466
}
6567

0 commit comments

Comments
 (0)