This excerpt, "Criteria Queries," from James Elliot's Hibernate: A Developer's Notebook, shows you how to use simple criteria, compound criteria, apply criteria to associations, and query by example using Hibernate.
This book excerpt is from Hibernate: A Developer's Notebook [2], by James Elliott, copyright 2004. All rights reserved. This chapter is posted with permission from O'Reilly Media.
We are presenting this book excerpt as a PDF download. The file size is a little under 200KB. Download Chapter 8, "Criteria Queries." [3]
Links:
[1] http://www.java.net/author/james-elliott
[2] http://www.oreilly.com/catalog/hibernate/
[3] http://www.java.net/today/2004/07/19/Hibernate.pdf