Language and Page Formatting Options
Chapter 14. HQL: The Hibernate Query Language
Hibernate is equipped with an extremely powerful query language that (quite intentionally) looks very much like SQL. But don't be fooled by the syntax; HQL is fully object-oriented, understanding notions like inheritence, polymorphism and association.
14.1. Case Sensitivity
Queries are case-insensitive, except for names of Java classes and properties. So
SeLeCTis the same as
sELEctis the same as
This manual uses lowercase HQL keywords. Some users find queries with uppercase keywords more readable, but we find this convention ugly when embedded in Java code.