Java Persistence with Spring Data and Hibernate

  • 13h 29m 7s
  • Cătălin Tudose
  • Manning Publications
  • 2023

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.

about the technology

Effectively managing application data is essential for any serious application. Spring Data and Hibernate bridge the gap between object-oriented code and relational data stores, radically simplifying Java persistence. By implementing the Java Persistence API (JPA) standard, these powerful tools help you avoid common bugs related to state and application data storage.

about the book

Java Persistence with Spring Data and Hibernate explores Java persistence using industry-standard tools. Hands-on examples introduce object-relational mapping and guide you through different mapping strategies to suit your needs. Covering transactions, persistent application testing, and non-relational databases, this book is your go-to resource for managing data in Java applications.

About the Author

Cătălin Tudose has more than 20 years of experience in the Java community. Christian Bauer, Gavin King, and Gary Gregory are the authors of Java Persistence with Hibernate, Second Edition, on which this book is based.

In this Audiobook

  • Chapter 1 - Understanding Object/Relational Persistence
  • Chapter 2 - Starting a Project
  • Chapter 3 - Domain Models and Metadata
  • Chapter 4 - Working with Spring Data JPA
  • Chapter 5 - Mapping Persistent Classes
  • Chapter 6 - Mapping Value Types
  • Chapter 7 - Mapping Inheritance
  • Chapter 8 - Mapping Collections and Entity Associations
  • Chapter 9 - Advanced Entity Association Mappings
  • Chapter 10 - Managing Data
  • Chapter 11 - Transactions and Concurrency
  • Chapter 12 - Fetch Plans, Strategies, and Profiles
  • Chapter 13 - Filtering Data
  • Chapter 14 - Integrating JPA and Hibernate with Spring
  • Chapter 15 - Working with Spring Data JDBC
  • Chapter 16 - Working with Spring Data REST
  • Chapter 17 - Working with Spring Data MongoDB
  • Chapter 18 - Working with Hibernate OGM
  • Chapter 19 - Querying JPA with Querydsl
  • Chapter 20 - Testing Java Persistence Applications
  • Appendix A: Maven