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. You'll learn how to make and utilize mapping strategies, and efficiently test Java persistence applications. The practical techniques are demonstrated with both relational and non-relational databases. about the technology Persistence enables an application's data to exist for the long term, even after a program is stopped or terminated. Whether you're saving state from session to session or maintaining long-term records, Java persistence tools like Spring Data, JPA, and Hibernate help deliver the object relational mapping that connects code's objects with your database. about the book Java Persistence with Spring Data and Hibernate explores persistence with the most popular available tools. You'll benefit from detailed coverage of Spring Data JPA, Spring Data JDBC, Spring Data REST, JPA, and Hibernate, comparing and contrasting the alternatives so you can pick what's best for your code.
Begin with a hands-on introduction to object-relational mapping (ORM), then dive into mapping strategies for linking up objects and your database. You'll learn about the different approach to transactions for both Hibernate and Spring Data, and even how to deliver Java persistence with non-relational databases. Finally, you'll explore testing strategies for persistent applications to keep your code clean and bug free.
- ISBN10 1617299189
- ISBN13 9781617299186
- Publish Date 20 February 2023
- Publish Status Active
- Publish Country US
- Imprint Manning Publications
- Format Paperback (US Trade)
- Pages 562
- Language English