Spring Data
1h 42mIntermediate2023-01-23
Authors

Mary Ellen Bowman
25+ years of full life-cycle software development experience
Course details
Coding to databases—which often involves the use of boilerplate code that's difficult to maintain and debug—can be tedious work. Upgrading applications to a different kind of data storage is similarly challenging, as it usually involves massive code rewrites. Spring Data addresses these issues by abstracting data store interactions into a common repository API and eliminating boilerplate code.
In this course, learn how to easily implement JPA-based repositories using Spring Data JPA. Instructor Mary Ellen Bowman introduces you to the Spring Data umbrella project and covers a handful of commonly used querying methods that you can start practicing on your own. From simple query methods with property expressions to more dynamic options like Querydsl, Query by Example (QBE), Spring Data REST, and MongoDB, Mary Ellen helps you build the skills you need to leverage the features of this powerful data management tool.
In this course, learn how to easily implement JPA-based repositories using Spring Data JPA. Instructor Mary Ellen Bowman introduces you to the Spring Data umbrella project and covers a handful of commonly used querying methods that you can start practicing on your own. From simple query methods with property expressions to more dynamic options like Querydsl, Query by Example (QBE), Spring Data REST, and MongoDB, Mary Ellen helps you build the skills you need to leverage the features of this powerful data management tool.
Skills covered
SpringWeb Development ToolsWeb DevelopmentOpen SourceDeep Dive (X:Y)
Concepts
0. Introduction
- 01 - Diving into Spring Data
- 02 - What you need
1. Spring Data Umbrella Project
- 03 - Mission and modules
- 04 - Java Persistence API
2. Introduction to Spring Data JPA
- 05 - Spring Boot Starter Data JPA
- 06 - Spring Data CrudRepository and JPA repository
- 07 - Challenge - Fix SimpleDBCrudTest syntax errors
- 08 - Solution - Fix SimpleDBCrudTest syntax errors
- 09 - Spring Data JPA magic
3. Spring Data JPA Query Methods
- 10 - Property expression query methods
- 11 - Query method clauses with property expressions
- 12 - @Query annotation
- 13 - Challenge - Refactor to three query methods
- 14 - Solution - Refactor to three query methods
- 15 - Paging and sorting
4. Dynamic Spring Data JPA Queries
- 16 - Specifications
- 17 - Querydsl
- 18 - Query by Example
- 19 - Challenge - Query by Example
- 20 - Solution - Query by Example
5. More Spring Data Features
- 21 - Spring Data REST
- 22 - Spring Data MongoDB
- 23 - Non-blocking Spring Data reactive repositories
- 24 - More data source support and features
Conclusion
- 25 - Next steps with Spring Data
Related courses
- Spring Data 3
- Creating Your First Spring Boot Microservice
- Spring Cloud GCP: Setting Up a Cloud SQL Database
- Spring Boot 3 Essential Training
- Building a Reactive App with Angular and Spring Boot 2
- Extending, Securing, and Dockerizing Spring Boot Microservices
- Building Full-Stack Apps with React and Spring
- Spring: Spring MVC