Java persistence with Hibernate is the latest edition of bestselling Hibernate in Action series. This is one of the best and most comprehensive book for learning the Hibernate framework. If you are buying this book, keep in mind that this is most exhaustive which covers most of the things what you have to learn in Hibernate.
The content inside this books is more focused on the real time developers who would be needing it. Book is organized into three parts, first part talks about the basics on hibernate and start working on a project, second part talks about the mapping of objects and related concepts, third part about processing of objects and how you can load and store data with Hibernate and Java Persistence. This books ends up with introducing the JBoss Seam framework, which takes many of the hibernate’s concepts into next level.
The entire subject area is broadly organized into 3 parts.
- Part 1: Getting started with Hibernate and JPA
- Part 2: Mapping concepts and strategies
- Part 3: Conversational object processing
The book covers Hibernate 3.2 in detail along with the EJB 3.0 and Java Persistence 1.0 standards. Java Persistence with Hibernate is accurate, complete, detailed, and full of practical examples. You can consider this books as the complete reference for your Hibernate knowledge. When first time you read it, you may not grasp many things easily unless you have the experience on using the framework. It is very good book to use along the way of working in hibernate projects.
Gavin King is founder of Hibernate and JBoss seam framework. You can find his blog posts on hibernate framework’s official website. A big advantage is the example application that is being used throughout the book and that can be downloaded for free from the Hibernate website. You can download and run in your local machine.
If you read the entire book, you should be able to answer some of the confusing questions like:
- What is the best way to map collections in hibernate?
- What are detached objects and how to use them effectively?
- What’s the difference between saveOrUpdate and merge? When to use what method?
- Do I need to implement equals() and hashCode() for every entity?
- What is the difference between Hibernate and JPA?
I would recommend this book for:
- Who want to learn Hibernate 3.x and JPA specification
- Who want to get the suggestions to deal with the practical scenarios
- Who want to read hibernate for real hard and learn to implement in their project
This is not the book for DUMMIES, it means just to use for some simple learning. If you are real serious about learning hibernate, please buy this book.
If you are looking for the further list of available books for hibernate framework, please refer our hibernate framework books recommendations. Hope this book review and list of books would help you to choose any one in the list. If you are interested in receiving future java article from us, please subscribe here.