1. application.properties 설정

spring.sql.init.mode=always

 

2. data.sql 파일 만들기

 

3. 쿼리 작성해 넣기

 

 

프로그램 실행시 쿼리문 실행

+ Recent posts