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.
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.
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.