Accessing Data with Spring Boot
Most Spring Boot applications use a database—a system built to store, organize, and retrieve data efficiently. Spring Boot supports several approaches to data access, including Spring JDBC and the Spring Data project family. Among these, Spring Data JPA focuses on working with relational databases using JPA, reducing boilerplate code.
In this course, we will learn how to use Spring Data JPA with H2 and MySQL. We will start with a SQL primer, then explore JDBC, object-relational mapping, and JPA before defining entities and repositories.