Java Persistence with Hibernate is considerably more than simply a second edition to Hibernate in Action. It provides a comprehensive overview of all the capabilities of the Java Persistence API in addition to those of Hibernate 3, as well as a detailed comparative analysis of the two. It describes how Hibernate has been used to implement the Java Persistence standard, and how to leverage the Hibernate extensions to Java Persistence.
-- From the Forward by LINDA DEMICHIEL Specification Lead, Enterprise JavaBeans 3.0 and Java Persistence Sun Microsystems
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 so it's a snap to work with SQL databases in Java applications. Hibernate conforms to the new EJB 3.0 and Java Persistence 1.0 standards.
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 2nd edition of Manning's 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 1.0 standards.
What's Inside:
--Authoritative source for any developer using Java with SQL databases. --Covers the latest major Hibernate version in great detail --Explores the new EJB 3.0 Java Persistence standard. --Written by the Hibernate founder and project lead. --Object/relational mapping concepts --Real-world tasks and examples --Application design and development processes with ORM
Customer Reviews:
Avg. Customer Rating: 3.5 / 5.0
Going into Hibernation with ORM?:
If you have seen the light of ORM and want a good technical read on this subject, this book is not for you. JPA here, Hibernate there, JPA here, Hibernate there. All over the place with nothing on GUID and how Hibernate/JPA handles that. Please split this book into two books next time around covering JPA 2.0 and Hibernate 3/4. And more coverage on Java SE and Java EE environments as well as best practices and design patterns chapters would have been helpful.
JPA with Hibernate or Hibernate with JPA?:
This book is obviously a pitch for two of the main technologies in the JBoss Java EE stack: Hibernate and Seam. I was expecting heavier and more in-depth coverage of JPA 1.0 and highlights of forthcoming changes in JPA 2.0 but instead there is a lot of Hibernate config xml coverage and absolutely no mention of Spring. This mammoth tome obviously should have been released as two books, one on JPA and one on Hibernate. You're better off with the previous edition (*much* less confusing than this one) and... more info
Very helpful:
This book is not a cookbook, but it does provide a deeper-than-usual perspective on the concepts guiding Hibernate and ORM in general. As a result, you have to read it differently from the run-of-the-mill software book: say a chapter at a time, rather than simply copying the code samples. In my experience, that special effort really pays off. Thanks to the authors!
decent material but poorly written:
First off, if you want a great example of a very well written technical book on Java EE, check out Seam in Action. Allen covers ORM as well. This book goes back and forth between the Hibernate xml mappings and the JPA annotations very often. The Hibernate Session API and JPA EntityManager API is thrown around willy nilly in the text. It's very difficult to concentrate and digest the information. But there is some good stuff in there including second level cache and Seam (which seams inappropriate for a ORM... more info