We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4cedcfe commit a3f1b71Copy full SHA for a3f1b71
hibernate-core/src/test/java/org/hibernate/orm/test/query/hql/thisalias/HQLThisTest.java
@@ -25,6 +25,10 @@ void test(SessionFactoryScope scope) {
25
s.createSelectionQuery("select this.name from This order by this.name").getSingleResult();
26
s.createSelectionQuery("select count(this) from This").getSingleResult();
27
s.createSelectionQuery("select id(this) from This").getSingleResult();
28
+ // testing case insensitivity
29
+ s.createSelectionQuery("select THIS.name from This ORDER BY THIS.name").getSingleResult();
30
+ s.createSelectionQuery("select count(THIS) from This").getSingleResult();
31
+ s.createSelectionQuery("select id(ThIs) from This").getSingleResult();
32
});
33
}
34
@Entity(name="This")
0 commit comments