Thoughts on Java
This book gives you more than 70 ready-to-use recipes that show 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.
Use basic and advanced mappings to map an entity to a database table.
Use Java 8's new APIs and programming concepts with Hibernate 5.
Go beyond the JPA standard and use Hibernate's proprietary mapping and query capabilities.
Perform JPQL, native SQL or Criteria queries to read records from the database and update or delete multiple entities at once.
Call stored procedures in your database with ad-hoc and named queries
Use Hibernate's first level, second level and query cache to improve the performance of your application.
You're in the right place if you are looking for recipes on how to use Hibernate to implement your business requirements.
To get the most out of this book, you should already be familiar with the general concepts of JPA and Hibernate. I don't explain Hibernate's general concepts, and therefore this book is not intended for beginners. But, if you're already familiar with ORM frameworks and like to learn by doing, you may find this example-based approach helpful.
More than 70 solutions to common Hibernate problems
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 shows 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.
Thorben Janssen has been a software developer and architect for more than 15 years. More than a decade ago, he used one of the first Hibernate releases to implement the persistence layer of enterprise applications.
Since then, he has used the framework to implement applications of various sizes with complex business and performance requirements.
After blogging for several years about JPA and Hibernate, he decided to quit his day job in October 2016 to follow his passion for writing and teaching.
Since then, he has been working as an independent trainer, author, and consultant to show software developers how to use Hibernate and JPA to avoid common problems and implement their persistence layer with ease.