We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2030aa7 commit 9858d29Copy full SHA for 9858d29
hibernate-core/src/test/java/org/hibernate/test/hql/SizeAttributeReferenceTest.java
@@ -7,6 +7,7 @@
7
package org.hibernate.test.hql;
8
9
import java.util.Set;
10
+import javax.persistence.Column;
11
import javax.persistence.Entity;
12
import javax.persistence.Id;
13
import javax.persistence.ManyToOne;
@@ -60,6 +61,7 @@ public static class EntityWithAttributeNamedSize {
60
61
public EntityWithAttributeNamedSize parent;
62
@OneToMany( mappedBy = "parent" )
63
public Set<EntityWithAttributeNamedSize> children;
64
+ @Column(name="`size`")
65
private String size;
66
}
67
0 commit comments