If you go to the pom.xml file, you can see the dependencies for the JDBC there. We are using MySQL for the database:
-----
-----
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-data-jpa</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
<dependency>
<groupId>com.h2database</groupId>
<artifactId>h2</artifactId>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<scope>runtime</scope>
</dependency>
-----
-----
According to this code, here are the dependencies:
- Web
- JPA
- MySQL
- H2
Here, we have seen a new dependency named h2. This is one of the well known, in-memory databases. Spring Boot and H2 have a great combination between one another.