Автор: Catalin Tudose
Издательство: Manning Publications
Год: 2023
Страниц: 618
Язык: английский
Формат: pdf (true)
Размер: 53.9 MB
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 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. We’ll begin with a hands-on introduction to object/relational mapping (ORM) and then dive into mapping strategies for linking up objects and your database. You’ll learn about the different approaches to transactions in Hibernate and Spring Data, and even how to deliver Java persistence with non-relational databases. Finally, we’ll explore testing strategies for persistent applications to keep your code clean and bug free.
What's inside:
Mapping persistent classes, value types, and inheritance
Creating fetch plans, strategies, and profiles
Building Spring Data REST projects
Querying JPA with QueryDSL
Who should read this book:
This book is for application developers who are already proficient in writing Java Core code and are interested in learning how to develop applications to interact easily and effectively with databases. You should be familiar with object-oriented programming and have at least a working knowledge of Java. You will also need a working knowledge of Maven and be able to build a Maven project and open a Java program in IntelliJ IDEA, edit it, and launch it in execution. Some of the chapters require basic knowledge about technologies like Spring or REST.
Скачать Java Persistence with Spring Data and Hibernate (Final Release)