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.
Overview
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