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