작성
·
673
0
Spring 공식 문서를 보면
Spring Boot can auto-configure embedded H2, HSQL, and Derby databases. You need not provide any connection URLs. You need only include a build dependency to the embedded database that you want to use.
You need a dependency on spring-jdbc
for an embedded database to be auto-configured. In this example, it is pulled in transitively through spring-boot-starter-data-jpa
.
라고 나와있습니다.
저는 현재 프로젝트의 경우
build dependency
= build.gradle
dependency on spring-jdbc
= implementation 'org.springframework.boot:spring-boot-starter-jdbc' (build.gradle)
라고 생각하는데, 이것이 맞는 내용인지 궁금합니다.