@Transactional ์ด ์๋์์ฑ์๋ ์๋จ๋๋ฐ ์ด๋ป๊ฒ ํด๊ฒฐํด์ผํ ์ง ๋ชจ๋ฅด๊ฒ ์ด์
# ์์ Jdbc ๊ฐ์์์ ํ๊ฒฝ์ค์ ํ์๋๊ฑฐ ๋ฐ๋ผํด์ # build.gradle ํ์ผ ์ค์ dependencies { implementation 'org.springframework.boot:spring-boot-starter-thymeleaf' implementation 'org.springframework.boot:spring-boot-starter-web' implementation 'org.springframework.boot:spring-boot-starter-jdbc' runtimeOnly 'com.h2database:h2' testImplementation 'org.springframework.boot:spring-boot-starter-test' }# src.main.resources.application.properties ์ ์ค์ spring.datasource.url=jdbc:h2:tcp://localhost/~/test spring.datasource.driver-class-name=org.h2.Driver๊ฐ์์ ์๋ ๋๋ก ์ค์ ํด์ฃผ๋ฉด, install ์ด ๋๋ฉด์ ๋ผ์ด๋ธ๋ฌ๋ฆฌ ๊ฐ์ ธ์์ง๋๋ผ๊ตฌ์