Chapter 15. HQL: The Hibernate Query Language: 15.1. Case Sensitivity
Chapter 15. HQL: The Hibernate Query Language: 15.1. Case Sensitivity
Chapter 15. HQL: The Hibernate Query Language: 15.1. Case Sensitivity
This manual uses lowercase HQL keywords. Some users find queries with uppercase keywords more readable,
but we find this convention ugly when embedded in C# code.
Most of the time, you will need to assign an alias, since you will want to refer to the in other parts of the
query.
This query assigns the alias to instances, so we could use that alias later in the query. The keyword
is optional; we could also write:
It is considered good practice to name query aliases using an initial lowercase, consistent with naming stand-
ards for local variables (eg. ).