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.
Forewords by Dmitry Aleksandrov and Mohamed Taman.
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.
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
About the reader
For intermediate Java programmers.
About the author
Catalin 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.
Table of Contents
PART 1 - GETTING STARTED WITH ORM
1 Understanding object/relational persistence
2 Starting a project
3 Domain models and metadata
4 Working with Spring Data JPA
PART 2 - MAPPING STRATEGIES
5 Mapping persistent classes
6 Mapping value types
7 Mapping inheritance
8 Mapping collections and entity associations
9 Advanced entity association mappings
PART 3 - TRANSACTIONAL DATA PROCESSING
10 Managing data
11 Transactions and concurrency
12 Fetch plans, strategies, and profiles
13 Filtering data
PART 4 - BUILDING JAVA PERSISTENCE APPLICATIONS WITH SPRING
14 Integrating JPA and Hibernate with Spring
15 Working with Spring Data JDBC
16 Working with Spring Data REST
PART 5 - BUILDING JAVA PERSISTENCE APPLICATIONS WITH SPRING
17 Working with Spring Data MongoDB
18 Working with Hibernate OGM
PART 6 - WRITING QUERIES AND TESTING JAVA PERSISTENCE APPLICATIONS
19 Querying JPA with Querydsl
20 Testing Java persistence applications

- 616 pages
- English
- ePUB (mobile friendly)
- Available on iOS & Android
eBook - ePub
Java Persistence with Spring Data and Hibernate
About this book
Trusted by 375,005 students
Access to over 1 million titles for a fair monthly price.
Study more efficiently using our study tools.
Information
Table of contents
- inside front cover
- Java Persistence with Spring Data and Hibernate
- Copyright
- dedication
- brief contents
- contents
- front matter
- Part 1. Getting started with ORM
- 1 Understanding object/relational persistence
- 2 Starting a project
- 3 Domain models and metadata
- 4 Working with Spring Data JPA
- Part 2. Mapping strategies
- 5 Mapping persistent classes
- 6 Mapping value types
- 7 Mapping inheritance
- 8 Mapping collections and entity associations
- 9 Advanced entity association mappings
- Part 3. Transactional data processing
- 10 Managing data
- 11 Transactions and concurrency
- 12 Fetch plans, strategies, and profiles
- 13 Filtering data
- Part 4. Building Java persistence applications with Spring
- 14 Integrating JPA and Hibernate with Spring
- 15 Working with Spring Data JDBC
- 16 Working with Spring Data REST
- Part 5. Building Java persistence applications with Spring
- 17 Working with Spring Data MongoDB
- 18 Working with Hibernate OGM
- Part 6. Writing queries and testing Java persistence applications
- 19 Querying JPA with Querydsl
- 20 Testing Java persistence applications
- Appendix A. Maven
- Appendix B. Spring Data JPA keyword usage
- Appendix C. Spring Data JDBC keyword usage
- Appendix D. Spring Data MongoDB keyword usage
- references
- index
- inside back cover
Frequently asked questions
Yes, you can cancel anytime from the Subscription tab in your account settings on the Perlego website. Your subscription will stay active until the end of your current billing period. Learn how to cancel your subscription
No, books cannot be downloaded as external files, such as PDFs, for use outside of Perlego. However, you can download books within the Perlego app for offline reading on mobile or tablet. Learn how to download books offline
Perlego offers two plans: Essential and Complete
- Essential is ideal for learners and professionals who enjoy exploring a wide range of subjects. Access the Essential Library with 800,000+ trusted titles and best-sellers across business, personal growth, and the humanities. Includes unlimited reading time and Standard Read Aloud voice.
- Complete: Perfect for advanced learners and researchers needing full, unrestricted access. Unlock 1.4M+ books across hundreds of subjects, including academic and specialized titles. The Complete Plan also includes advanced features like Premium Read Aloud and Research Assistant.
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 990+ topics, we’ve got you covered! Learn about our mission
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more about Read Aloud
Yes! You can use the Perlego app on both iOS and Android devices to read anytime, anywhere — even offline. Perfect for commutes or when you’re on the go.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app
Yes, you can access Java Persistence with Spring Data and Hibernate by Catalin Tudose in PDF and/or ePUB format, as well as other popular books in Computer Science & Databases. We have over one million books available in our catalogue for you to explore.