Synopses & Reviews
Persistence-the ability of data to outlive an instance of a program-is central to modern applications. Hibernate, the most popular Java persistence tool, provides automatic and transparent object/relational mapping making it a snap to work with SQL databases in Java applications. Hibernate applications are cheaper, more portable, and more resilient to change. Because it conforms to the new EJB 3.0 and Java Persistence 1.0 standard, Hibernate allows the developer to seamlessly create efficient, scalable Java EE applications.
Java Persistence with Hibernate explores Hibernate by developing an application that ties together hundreds of individual examples. You'll immediately dig into the rich programming model of Hibernate 3.2 and Java Persistence, working through queries, fetching strategies, caching, transactions, conversations, and more. You'll also appreciate the well-illustrated discussion of best practices in database design, object/relational mapping, and optimization techniques.
In this revised edition of the bestselling Hibernate in Action, authors Christian Bauer and Gavin King-the founder of the Hibernate project-cover Hibernate 3.2 in detail along with the EJB 3.0 and Java Persistence standard.
Java Persistence with Hibernate is the new bible of Hibernate. As a major revision of the popular Hibernate in Action, it builds on the same single example application to introduce and explain in detail the latest version, Hibernate 3.2. This book also completely covers the new and significantly improved EJB 3.0 Java Persistence standard and how Hibernate implements it.
All possible basic and advanced Hibernate mappings are shown in this book, with hundreds of examples in Hibernate's XML format, including Java Persistence annotations for JDK 5.0, enabling you to get started with Hibernate and Java Persistence at the same time. All examples - APIs, queries, fetching strategies, caching, transactions, conversations, and many more - are presented in all variations, so you can compare and evaluate the new Java Persistence specification easily. If you are an experienced Hibernate user, this book provides the insight you need to benefit immediately from the new standard, its rich programming model, and the latest version of Hibernate.
A guide to using Hibernate and Java Persistence covers such topics as ORM, application architecture, and developer tools.
The new bible of Hibernate--a major revision of the popular "Hibernate in Action"--builds on the same single example application to introduce and explain the latest Hibernate 3.2 in detail.
About the Author
A member of the core Hibernate developer team, Christian Bauer maintains the Hibernate documentation and website. He is a senior software engineer in Frankfurt, Germany. Gavin King is the Hibernate founder and principal developer. He is a J2EE consultant based in Melbourne, Australia.