Books & Videos

Table of Contents

  1. Chapter 1 Installation and Setup

    1. Getting an Ant Distribution

    2. Getting the HSQLDB Database Engine

    3. Setting Up a Project Hierarchy

  2. Chapter 2 Introduction to Mapping

    1. Writing a Mapping Document

    2. Generating Some Class

    3. Cooking Up a Schema

    4. Connecting Hibernate to MySQL

  3. Chapter 3 Harnessing Hibernate

    1. Creating Persistent Objects

    2. Finding Persistent Objects

    3. Better Ways to Build Queries

  4. Chapter 4 Collections and Associations

    1. Mapping Collections

    2. Persisting Collections

    3. Retrieving Collections

    4. Using Bidirectional Associations

    5. Working with Simple Collections

  5. Chapter 5 Richer Associations

    1. Using Lazy Associations

    2. Ordered Collections

    3. Augmenting Associations in Collections

    4. Lifecycle Associations

    5. Reflexive Associations

  6. Chapter 6 Persistent Enumerated Types

    1. Defining a Persistent Enumerated Type

    2. Working with Persistent Enumerations

  7. Chapter 7 Custom Value Types

    1. Defining a User Type

    2. Using a Custom Type Mapping

    3. Building a Composite User Type

  8. Chapter 8 Criteria Queries

    1. Using Simple Criteria

    2. Compounding Criteria

    3. Applying Criteria to Associations

    4. Querying by Example

  9. Chapter 9 A Look at HQL

    1. Writing HQL Queries

    2. Selecting Properties and Pieces

    3. Sorting

    4. Working with Aggregate Values

    5. Writing Native SQL Queries

  1. Appendix A Hibernate Types

    1. Basic Types

    2. Persistent Enumerated Types

    3. Custom Value Types

    4. "Any" Type Mappings

    5. All Types

  2. Appendix B Standard Criteria

    1. The Expression Factory

  3. Appendix C Hibernate SQL Dialects

    1. Getting Fluent in the Local SQL

  4. Colophon