Pages

Java Persistence with Hibernate Gavin king and Christian Bauer


brief contents
PART 1 GETTING STARTED WITH HIBERNATE AND EJB 3.0 .........1
1 ■ Understanding object/relational persistence 3
2 ■ Starting a project 37
3 ■ Domain models and metadata 105
PART 2 MAPPING CONCEPTS AND STRATEGIES ........................155
4 ■ Mapping persistent classes 157
5 ■ Inheritance and custom types 191
6 ■ Mapping collections and entity associations 240
7 ■ Advanced entity association mappings 277
8 ■ Legacy databases and custom SQL 322
PART 3 CONVERSATIONAL OBJECT PROCESSING .....................381
9 ■ Working with objects 383
10 ■ Transactions and concurrency 433
11 ■ Implementing conversations 476
12 ■ Modifying objects efficiently 517
vi BRIEF CONTENTS
13 ■ Optimizing fetching and caching 559
14 ■ Querying with HQL and JPA QL 614
15 ■ Advanced query options 663
16 ■ Creating and testing layered applications 697
17 ■ Introducing JBoss Seam 747
appendix A SQL fundamentals 818
appendix B Mapping quick reference 822