| 
 SQL Home 
 SQL Articles 
 SQL Links 
SQL Books 
SQL Tools 
SQL Keywords 
 | 
SQL
Hibernate A Developers Notebook
| 
 | 
 |  
| 
	
 | 
	
 | 	
 
| 
 Contents Listing
  Preface
 
 Chapter 1. Installation and Setup
       Getting an Ant Distribution 
       Getting the HSQLDB Database Engine 
       Getting Hibernate 
       Setting Up a Project Hierarchy 
 
 Chapter 2. Introduction to Mapping
       Writing a Mapping Document 
       Generating Some Class 
       Cooking Up a Schema 
       Connecting Hibernate to MySQL 
 
 Chapter 3. Harnessing Hibernate
       Creating Persistent Objects 
       Finding Persistent Objects 
       Better Ways to Build Queries 
 
 Chapter 4. Collections and Associations
       Mapping Collections 
       Persisting Collections 
       Retrieving Collections 
       Using Bidirectional Associations 
       Working with Simple Collections 
 
 Chapter 5. Richer Associations
       Using Lazy Associations 
       Ordered Collections 
       Augmenting Associations in Collections 
       Lifecycle Associations 
       Reflexive Associations 
 
 Chapter 6. Persistent Enumerated Types
       Defining a Persistent Enumerated Type 
       Working with Persistent Enumerations 
 
 Chapter 7. Custom Value Types
       Defining a User Type 
       Using a Custom Type Mapping 
       Building a Composite User Type 
 
 Chapter 8. Criteria Queries
       Using Simple Criteria 
       Compounding Criteria 
       Applying Criteria to Associations 
       Querying by Example 
 
 Chapter 9. A Look at HQL
       Writing HQL Queries 
       Selecting Properties and Pieces 
       Sorting 
       Working with Aggregate Values 
       Writing Native SQL Queries 
 
 Appendix A. Hibernate Types
 Appendix B. Standard Criteria
 Appendix C. Hibernate SQL Dialects
 
 Index 
 | 
 
 
 | 
 Contents
 View a contents listing.
 
 Short
 Short Description.
 	
 
 Keyword Pages
 API
 database
 database engine
 Hibernate
 HQL
 HSQLDB
 Java
 Java API
 Java objects
 MySQL
 object-oriented
 SQL
 	
Keyword Bestsellers
  API
  
 database engine
  
 Hibernate
  
 HQL
  
 HSQLDB
  
 Java
  
 Java API
  
 Java objects
  
 MySQL
  
 object-oriented
  
 SQL
  
database
  
SQL Bestsellers The bestselling books on Amazon. 
Articles 	
 Learning PL/SQL review 
 |