JAVA PERSISTENCE WITH HIBERNATE
... explores the Hibernate object/relational mapping software by developing an application that ties together hundreds of individual examples. Started by Christian Bauer and Gavin King with the bestselling book Hibernate in Action, it is the primary resource for Java software engineers who want to learn best practices in SQL database design and object/relational persistence.

JPWH 2e
Second Edition
Hibernate 5.x, JPA 2.1
Sample Chapters: 1, 14
Buy Copy
Browse Examples
Download Examples ZIP
JPwH
Hibernate 3.x, JPA 1.0
Sample Chapters: 2
Out Of Print
Errata
Browse "Hello World" Example
Download "Hello World" Example ZIP
Browse CaveatEmptor JPA Example
Download CaveatEmptor JPA Example ZIP
Browse CaveatEmptor Hibernate Example
Download CaveatEmptor Hibernate Example ZIP
HiA
Hibernate 2.x
Sample Chapters: 2, 6
Out Of Print
Errata
Browse CaveatEmptor Example
Download CaveatEmptor Example ZIP