Jump to ratings and reviews
Rate this book

Hibernate Tips: More than 70 solutions to common Hibernate problems

Rate this book
When you use Hibernate in your projects, you quickly recognize that you need to do more than just add @Entity annotations to your domain model classes. Real-world applications often require advanced mappings, complex queries, custom data types, and caching. Hibernate can do all of that. You just have to know which annotations and APIs you need to use.
Hibernate Tips: More than 70 solutions to common Hibernate problems show you how to efficiently implement your persistence layer with Hibernate's basic and advanced features. Each Hibernate tip consists of one or more code samples and an easy-to-follow step-by-step explanation. You can also download an example project with executable test cases for each Hibernate tip.
This book gives you more than 70 ready-to-use solutions that show how to:
Define standard mappings for basic attributes and entity associations. Implement your own attribute mappings and support custom data types. Use Hibernate's Java 8 support and other proprietary features. Read data from the database with JPQL, Criteria API, and native SQL queries. Call stored procedures and database functions. Get your copy of Hibernate Tips: More than 70 solutions to common Hibernate problems now and implement your persistence layer with ease.

256 pages, Paperback

Published March 25, 2017

21 people are currently reading
83 people want to read

About the author

Thorben Janssen

2 books3 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
9 (25%)
4 stars
19 (52%)
3 stars
7 (19%)
2 stars
1 (2%)
1 star
0 (0%)
Displaying 1 - 5 of 5 reviews
Profile Image for Michael Simons.
2 reviews5 followers
October 19, 2017
There are most often two kinds of answers to problems: High-level approach, explaining concept, context and details and a more practical approach, answering concrete questions with ready to use solutions. "Hibernate Tips" takes the later approach. The table of contents reads like a best-of-Hibernate-questions that have been asked during everyday development, from getting started to harder problems. Thorbens book tackles real world tasks and problems that arise during development with Hibernate. The book helps me a lot providing my developers with short, concise answers they need to solve their problem at hand.

As with other topics, the high-level, conceptual view of the persistence layer is important, too. A really good combination of books is "Hibernate Tips: More than 70 solutions to common Hibernate problem" together with Vlad Mihalceas "High-Performance Java Persistence", also available at amazon. Those two books cover both sides of the story. Get them both, the money is well invested.
Profile Image for Michael Simons.
2 reviews5 followers
December 11, 2017
There are most often two kinds of answers to problems: High-level approach, explaining concept, context and details and a more practical approach, answering concrete questions with ready to use solutions. "Hibernate Tips" takes the later approach. The table of contents reads like a best-of-Hibernate-questions that have been asked during everyday development, from getting started to harder problems. Thorbens book tackles real world tasks and problems that arise during development with Hibernate. The book helps me a lot providing my developers with short, concise answers they need to solve their problem at hand.

As with other topics, the high-level, conceptual view of the persistence layer is important, too. A really good combination of books is "Hibernate Tips: More than 70 solutions to common Hibernate problem" together with Vlad Mihalceas "High-Performance Java Persistence", also available at amazon. Those two books cover both sides of the story. Get them both, the money is well invested.
Profile Image for Michael.
1 review
December 17, 2017
The book is perfect .
Dry and tight.
Thin details helpful in practic. Save a lot of time.
'The best' is a 'Problem -> Solution' approach.
17 reviews
August 20, 2019
Pretty good cookbook for JPA, but this Q&A style is strange and has a lot of duplicated texts as well.
This entire review has been hidden because of spoilers.
Profile Image for Chung Vũ.
10 reviews
October 25, 2025
Very basic, easy to understand.
But it is not knowledge enough for today
Displaying 1 - 5 of 5 reviews

Can't find what you're looking for?

Get help and learn more about the design.