Spring: Spring Data 2
Overview
Easily implement JPA-based repositories using Spring Data JPA. Learn about the Spring Data Commons JPA for object-relational mapping, querying with Spring Data, and more.
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. Mary Ellen Bowman describes the Spring Data umbrella project, and helps you understand JPA for object-relational mapping. She also covers querying, and dives into other Spring Data Commons features such as QueryDSL and auditing.
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. Mary Ellen Bowman describes the Spring Data umbrella project, and helps you understand JPA for object-relational mapping. She also covers querying, and dives into other Spring Data Commons features such as QueryDSL and auditing.
Syllabus
Introduction
- Welcome
- What you should know before watching
- How to use the exercise files
- Spring Data Commons
- Logical model vs. physical model
- Brief history of the Java Persistence API
- Map a database table to a Java class
- Map multiple tables to Java classes
- Java Persistence query language
- JPA without Spring Data
- Spring Data repositories interfaces
- CrudRepository interface for entities
- JPA Repository
- Property expression query methods
- Query method clauses and expressions
- @Query query methods
- Paging and sorting
- QueryByExample
- Optional query response
- Spring Data MongoDB example
- Spring Data JDBC example
- Spring Data reactive repository example
- Other Spring Data datasource solutions
- Spring Data REST
- QueryDSL Spring data extension
- Auditing
- Read-Only repository pattern
- Next steps
Taught by
Mary Ellen Bowman
Related Courses
-
Creating Your First Spring Boot Microservice
-
Spring 5.0 and Spring Boot 2.0 New Features
-
Spring 5.0 and Spring Boot 2.0 New Features
-
Extending, Securing, and Dockerizing Spring Boot Microservices
-
Spring: Framework In Depth
-
Web Development with Java Spring Framework
St. Petersburg State Polytechnic University
Reviews
0.0 rating, based on 0 reviews