Java Persistence with Hibernate, Second Edition explores Hibernate by developing an application that ties together hundreds of individual examples. In this revised edition, authors Christian Bauer, Gavin King, and Gary Gregory cover Hibernate 5 in detail with the Java Persistence 2.1 standard (JSR 338). All examples have been updated for the latest Hibernate and Java EE specification versions.
About the Technology
Purchase of the print book includes a free eBook in PDF, Kindle, and ePub formats from Manning Publications.
Persistence—the ability of data to outlive an instance of a program—is central to modern applications. Hibernate, the most popular Java persistence tool, offers automatic and transparent object/relational mapping, making it a snap to work with SQL databases in Java applications.
About the Book
Java Persistence with Hibernate, Second Edition explores Hibernate by developing an application that ties together hundreds of individual examples. You'll immediately dig into the rich programming model of Hibernate, working through mappings, queries, fetching strategies, transactions, conversations, caching, and more. Along the way you'll find a well-illustrated discussion of best practices in database design and optimization techniques. In this revised edition, authors Christian Bauer, Gavin King, and Gary Gregory cover Hibernate 5 in detail with the Java Persistence 2.1 standard (JSR 338). All examples have been updated for the latest Hibernate and Java EE specification versions.
What's Inside
Object/relational mapping concepts Efficient database application design Comprehensive Hibernate and Java Persistence reference Integration of Java Persistence with EJB, CDI, JSF, and JAX-RS * Unmatched breadth and depth About the Reader
The book assumes a working knowledge of Java.
About the Authors
Christian Bauer is a member of the Hibernate developer team and a trainer and consultant. Gavin King is the founder of the Hibernate project and a member of the Java Persistence expert group (JSR 220). Gary Gregory is a principal software engineer working on application servers and legacy integration.
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.
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!
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.
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.
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).
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.
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.
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.
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.
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.
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.
Best Hibernate book, with which you can understand Java persistence. a must have book for everyone interested in understanding Java persistence concepts.