Java Persistence with Hibernate

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.
User Ratings and Reviews
5 Stars Best Resource
I have finally found a great resource on persistence. This book allows you find enough detail quickly to get going and enough in-depth knowledge and understanding to keep you coming back. A must own.
5 Stars Great book for hibernate
This is the the BEST book for hibernate. better than hibernate in action and other books.
Gavin King Rocks.
2 Stars A boring book
This is a boring book and hard to understand. If you want to learn Hibernate, don’t buy it.
5 Stars AWESOME BOOK
Got this book when I started working with hibernate at work. This book and its sample code saved me weeks of effort.
Hibernate is an OK framework, but a steep learning curve. This book will help you significantly reduce that learning curve.
5 Stars A Massive Book for a Magnificent Framework
Some of the reviews for this book are a little harsh.
This is the most complete book on Hibernate on the market. It covers everything, and I mean everything. From mapping to annotations, to whatever, it’s in here.
The book is written by the makers of Hibernate, and you can find an answer to pretty much every question you’ll ever have explained in extreme detail, and in a very, very technical way.
The book uses the Caveat Emptor application as a reference. You keep going back to that example, which you can download from the hibernate site. It is a very complete and intricately developed application that is a reference for how to develop enterprise ready applications that could be deployed to pretty much any mission critical environment.
This book is amazing. Some reviewers have tried to use this as a Dummies book or How To book and have been frustrated, and have given this book poor reviews. That’s not fair. Imagine trying to learn to swing a baseball (or cricket) bat by taking pitches from a major league pitcher. You wouldn’t learn a thing, as every pitch zoomed by you at 100mph. This book is like the big league pitcher, helping you develop and design applications that are ready for the big leagues. When you understand that, you can understand why people who are new to the technology, and looking for very simple and straight forward examples, can get frustrated with this book and give it 1 or 2 stars. Really, those reviews are not fair.
If you are new to hibernate, you should start of with something a like Hibernate Made Easy: Simplified Data Persistence with Hibernate and JPA (Java Persistence API) Annotations. If you are using mapping files, then Hibernate: A Developer’s Notebook is the other book you should get.
Overall, this is a five star book written by the people that know Hibernate the most. We’re very luck to have a book like this to help guide us through the really, really, really tough stuff.
