Jump to ratings and reviews
Rate this book

Java Persistence With Hibernate

Rate this book
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.

841 pages, Paperback

First published November 24, 2006

53 people are currently reading
400 people want to read

About the author

Christian Bauer

136 books4 followers

Ratings & Reviews

What do you think?
Rate this book

Friends & Following

Create a free account to discover what your friends think of this book!

Community Reviews

5 stars
107 (26%)
4 stars
174 (43%)
3 stars
102 (25%)
2 stars
14 (3%)
1 star
7 (1%)
Displaying 1 - 30 of 30 reviews
Profile Image for Miloš.
67 reviews3 followers
September 16, 2016
The most in-depth book about a framework that I've read, takes you through all the stages of application developments and shares invaluable practical advice about running Hibernate in production. The book contains such level of detail that I'll be sure to return to it occasionally to refresh my memory.
44 reviews
September 16, 2018
An excellent overview of Hibernate and JPA. The book is easy to read and it contains useful examples closing to a reality. I should read it as soon as possible, but... Nevertheless, I highly recommend it if you are using JPA and Hibernate. Must read!
Profile Image for Андрій Кривцун.
Author 1 book3 followers
January 16, 2020
Very good book about Hibernate framework. It covers both simple and tricky aspects of the framework.

Only one thing prevents me from rate the book with 5 stars: at the last chapter authors use outdated EJB framework to demonstrate Hibernate-bases application architecture. It would be much more practical to use here wide used Spring framework and Spring JPA extension.
Profile Image for Sergey Yurov.
2 reviews
July 17, 2019
This book is a good book for revise knowledges if you are a professional and the best book for study if you are a junior.

I got from this book the base of JPA and Hibernate and deep knowledge about how it use and set up to get the efficient programs.
Profile Image for Алексей Осецкий.
23 reviews
May 13, 2022
Понял
1) проблемы трансляции наследоавния на реляционную модель, и варианты решения.
2) варианты решения проблемы N+1

Как решается проблема с уделнием связанных сущностей, так и не понял, но очень интересно
Profile Image for Iurii Mednikov.
18 reviews
September 11, 2024
The title covers both essentials and tricky aspects of Hibernate and JPA. This book is one of such books that you should read once and then to revise it when you will stuck with particular problems. If you work with Hibernate - this book should be in your reading list.
Profile Image for Vadim Barylo.
46 reviews1 follower
February 8, 2022
Дай бог чтобы не пригодилась.

Ну слишком много нюансов из-за того, что технологии уже 20 лет, поэтому накоплено очень много разных подходов.

Полезная как референс для решения конкретной задачи.
Profile Image for Borys.
110 reviews28 followers
June 2, 2015
First of all, I think it's between 3 and 4 actually. Good parts: it has some useful information like caching support, explanations of inner workings of persistence context, and it was just good to read it through because there are always some parts missing when you don't read everything or just make every single mistake with a framework, and Hibernate has a lot of complexity to it. I also think most of the people using it are just looking recipes up on the internet or reading tidbits of documentation. Well, that was what I did, anyway reading this book gave more structure to my knowledge of Hibernate. Bad parts: it's just hard to read it through! And you probably shouldn't. There are lots and lots of stuff which is relevant to only small percentage of users in my opinion. Also my opinion, I don't think that it's worthwhile to include such stuff in a book, I think doc reference is good enough to that end. (And Hibernate docs are like really good.) Reading some chapters, and skipping not interesting/relevant things recommended to anyone working with Hibernate (well, or documentation).
Profile Image for David.
880 reviews51 followers
September 14, 2010
This book is very thick and packed with a lot of information. It can be considered a reference book for Hibernate, but there's a somewhat wordiness feel to it rather than being a straight-to-the-point sort of reference. You tend to have to read through explanations and discussions to get to the snippet you're looking for. It's not a very strong candidate for a good reference book, and it's also a poor candidate for a learning book; there's no complete example or walkthrough of a proper application, just snippets here and there, with assumptions that you know the rest. Online resources are much better if one is looking to learn Hibernate.
3 reviews
February 22, 2012
Compared to the reference manual, it's definitely a good book, but examples are a) not well thought-out, many of details are left out of the book, so you can't just take the code from the book, put it in your IDE, and get it working -- you'll need A LOT of other things to get it running at times; b) far-fetched at times.
Profile Image for Phat Nguyen.
42 reviews6 followers
April 29, 2016
It's no doubt that this book is the best tutorial book out there about Hibernate, regardless of your experience with Hibernate (I'm a newbie). Not only the discussion about Hibernate, but also it discuss the solutions to the current issues of data persistence in web application. Clear explanations with detailed code examples.
Profile Image for Cristian Stan.
27 reviews2 followers
November 21, 2016
At the moment I read it was a good book for me because until that point my Hibernate knowledge were scattered and didn't quite really understood what happens behind the curtains. But this gave me some answers and help me realise how to achieve the levels of performance desired in the application I was working on back then.
22 reviews21 followers
July 9, 2010
This book is a bit wordy to read straight through, but it makes an adequate reference. You would think there would be a website that would be a better reference given this material, but this book seems more complete then any website I have found.
Profile Image for Rejeev Divakaran.
89 reviews15 followers
August 23, 2015
It is very good read for anybody who works with ORM or Java application with persistence using RDBMS.
The book is very readable. It is comprehensive book for ORM as well as hibernate.
Profile Image for Gene De Lisa.
12 reviews4 followers
September 17, 2010
Horrid organization and writing style. I don't care much for the condescending tone either.
Profile Image for Olli Sorje.
59 reviews3 followers
June 24, 2014
If you work with Hibernate you should read this.
3 reviews1 follower
October 8, 2013
Best Hibernate book, with which you can understand Java persistence. a must have book for everyone interested in understanding Java persistence concepts.
36 reviews1 follower
September 4, 2017
The bible of Hibernate. Very up-to-date and thorough. Good as a reference manual too.
5 reviews1 follower
November 1, 2021
A good recipe based book with explanations on how the ORM works.
Would recoommend to anyone who tries to learn the framework.
Displaying 1 - 30 of 30 reviews

Can't find what you're looking for?

Get help and learn more about the design.