Hibernate: A Developer's Notebook
By
James Elliott
May 2004
Pages: 190
| Table of Contents
| Index
| Sample Chapter
| Colophon
Table of Contents
-
Chapter 1 Installation and Setup
-
Getting an Ant Distribution
-
Getting the HSQLDB Database Engine
-
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
-
Basic Types
-
Persistent Enumerated Types
-
Custom Value Types
-
"Any" Type Mappings
-
All Types
-
Appendix B Standard Criteria
-
The Expression Factory
-
Appendix C Hibernate SQL Dialects
-
Getting Fluent in the Local SQL
-
Colophon
Return to Hibernate: A Developer's Notebook