|
Chapter 1. Introduction to Hibernate - The Object/Relational Mapping Problem
- JDBC
- The Hibernate Alternative
- Hibernate Architecture and API
Chapter 2. Configuring Hibernate - The Hibernate Distribution
- Required Libraries
- Configuration Files
- hibernate.properties
- hibernate.cfg.xml
- Programmatic Configuration
Chapter 3. Hibernate Persistence - The SessionFactory Interface
- Object States
- The Session Interface
- Transactions
- Session Duration
- The Data Access Object Pattern
Chapter 4. Object/Relational Mapping - O/R Mapping Issues
- The Mapping Vocabulary
- Primary Keys and Identity
- ID Generators
- Mapping Associations
- Unidirectional and Bidirectional Associations
- Managing Cardinality
- Strategies for Mapping Inheritance
Chapter 5. The Criteria Query API - Criteria Queries
- The Criteria Interface
- Using Restrictions
- Windowing Results
- Sorting
- Traversing Associations
- Projections and Aggregates
- Grouping
- Query By Example (QBE)
Chapter 6. Hibernate Query Language - Building HQL Queries
- The Select Clause
- The Where Clause
- Named and Entity Parameters
- Associations and Aggregates
- Bulk Updates and Deletes
- Named Queries
- Using Native SQL
|