In Part 1, the book introduces the object/relational paradigm mismatch and explains the fundamentals behind object/relational mapping. Then, readers are walked through a hands-on tutorial to get you started with your first Hibernate, Java Persistence, or EJB 3.0 project. You look at Java application design for domain models and at the options for creating object/relational mapping metadata.
Mapping Java classes and properties to SQL tables and columns is the focus of Part 2. You explore all basic and advanced mapping options in Hibernate and Java Persistence, with XML mapping files and Java annotations. It shows you how to deal with inheritance, collections, and complex class associations. Finally, the book discusses integration with legacy database schemas and some mapping strategies that are especially tricky.
Part 3 is all about the processing of objects and how you can load and store data with Hibernate and Java Persistence. The book introduces the programming interfaces, how to write transactional and conversation-aware applications, and how to write queries. It later focuses on the correct design and implementation of layered Java applications, and the most common design patterns that are used with Hibernate, such as the Data Access Object (DAO) and EJB Command patterns. You'll see how you can test your Hibernate application easily and what other best practices are relevant if you work an object/relational mapping software.
Finally, you are introduced to the JBoss Seam framework, which takes many Hibernate concepts to the next level and enables you to create conversational web applications with ease.
Visit the Manning site for sample chapters, the Author Online Forum, errata and source code for Java Persistence with Hibernate.
Christian Bauer is a member of the Hibernate developer team. He works as a trainer, consultant, and product manager for Hibernate, EJB 3.0, and JBoss Team at JBoss, a division of Red Hat. He is the co-author with Gavin King of Manning's best-selling Hibernate in Action.
Very very difficult to read and full of "I'll explain later" comments.
"In this chapter, we’ll show you how to retrieve objects from the... Read more
This book is a must for anyone who wants to understand Java persistence. To my knowledge, this is the only book that explains persistence satisfactorily. Read morePublished on October 14, 2012 by Dimitri K
The must-read english reference on Hibernate.
Although it's mainly about Hibernate 3.2 (and the actual version of hibernate beeing 4. Read more
The configuration settings in the book and the .jar files listed will not work as is. I had to Google for several days to find the missing . Read morePublished on July 5, 2012 by Kenneth P. MacKlin
2>cover many pointless topics
3>important topic related to doing sql work in hibernate style lacking detail.
The first book I read on Hibernate was `Hibernate in Action` for Hibernate 2.0. It was decent book and thought this would be a good reference. Read morePublished on May 24, 2012 by UmiP
It's the best book about hibernate, you can learn how to hibernate works, how to configure it and how to apply the best performance for your applications.Published on January 28, 2012 by juanitodread
This is the correct book for becoming Hibernate power user. Many people today claim that Hibernate is antipattern and they might be right. Read morePublished on January 24, 2012 by vrto