Preface @b@How to Use This Book @b@Font Conventions @b@On the Web Site @b@How to Contact Us @b@Acknowledgments @b@Chapter 1. Installation and Setup @b@Section 1.1. Getting an Ant @b@Distribution @b@Section 1.2. Getting the HSQLDB Database @b@Engine @b@Section 1.3. Getting Hibernate @b@Section 1.4. Setting Up a Project @b@Hierarchy @b@Chapter 2. Introduction to Mapping @b@Section 2.1. Writing a Mapping @b@Document @b@Section 2.2. Generating Some @b@Class @b@Section 2.3. Cooking Up a @b@Schema @b@Section 2.4. Connecting Hibernate to @b@MySQL @b@Chapter 3. Harnessing Hibernate @b@Section 3.1. Creating Persistent @b@Objects @b@Section 3.2. Finding Persistent @b@Objects @b@Section 3.3. Better Ways to Build @b@Queries @b@Chapter 4. Collections and @b@Associations @b@Section 4.1. Mapping @b@Collections @b@Section 4.2. Persisting @b@Collections @b@Section 4.3. Retrieving @b@Collections @b@Section 4.4. Using Bidirectional @b@Associations @b@Section 4.5. Working with Simple @b@Collections @b@Chapter 5. Richer Associations @b@Section 5.1. Using Lazy @b@Associations @b@Section 5.2. Ordered @b@Collections @b@Section 5.3. Augmenting Associations in @b@Collections @b@Section 5.4. Lifecycle @b@Associations @b@Section 5.5. Reflexive @b@Associations @b@Chapter 6. Persistent Enumerated @b@Types @b@Section 6.1. Defining a Persistent @b@Enumerated Type @b@Section 6.2. Working with Persistent @b@Enumerations @b@Chapter 7. Custom Value Types @b@Section 7.1. Defining a User @b@Type @b@Section 7.2. Using a Custom Type @b@Mapping @b@Section 7.3. Building a Composite User @b@Type @b@Chapter 8. Criteria Queries @b@Section 8.1. Using Simple @b@Criteria @b@Section 8.2. Compounding @b@Criteria @b@Section 8.3. Applying Criteria to @b@Associations @b@Section 8.4. Querying by @b@Example @b@Chapter 9. A Look at HQL @b@Section 9.1. Writing HQL @b@Queries @b@Section 9.2. Selecting Properties and @b@Pieces @b@Section 9.3. Sorting @b@Section 9.4. Working with Aggregate @b@Values @b@Section 9.5. Writing Native SQL @b@Queries @b@Appendix A. Hibernate Types @b@Section A.1. Basic Types @b@Section A.2. Persistent Enumerated @b@Types @b@Section A.3. Custom Value @b@Types @b@Section A.4. 'Any' Type @b@Mappings @b@Section A.5. All Types @b@Appendix B. Standard Criteria @b@Section B.1. The Expression @b@Factory @b@Appendix C. Hibernate SQL Dialects @b@Section C.1. Getting Fluent in the Local @b@SQL @b@Colophon