May 2004
Intermediate to advanced
192 pages
4h 46m
English
HQL queries have already been used a few times in previous chapters. It's worth spending a little time looking at how HQL differs from SQL and some of the useful things you can do with it. As with the rest of this notebook, our intention is to provide a useful introduction and some examples, not a comprehensive reference.
In this chapter:
Writing HQL Queries
Selecting Properties and Pieces
Sorting
Working with Aggregate Values
Writing Native SQL Queries