Master Java persistence using the industry-leading tools Spring Data and Hibernate.
In Java Persistence with Spring Data and Hibernate you will learn:
- Mapping persistent classes, value types, and inheritance
- Mapping collections and entity associations
- Processing transactions with Spring Data and Hibernate
- Creating fetch plans, strategies, and profiles
- Filtering data
- Building Spring Data REST projects
- Using Java persistence with non-relational databases
- Querying JPA with QueryDSL
- Testing Java persistence applications
Java Persistence with Spring Data and Hibernate teaches you the ins-and-outs of Java persistence with hands-on examples using Spring Data, JPA, and Hibernate. The book carefully analyzes the capabilities of the major Java persistence tools, and guides you through the most common use cases. By comparing and contrasting the alternatives, you’ll find it easy to choose the right tool choice for your applications. You’ll learn how to make and utilize mapping strategies, about the different approach to transactions for both Hibernate and Spring Data, and even how to efficiently test Java persistence applications. The practical techniques are demonstrated with both relational and non-relational databases.