목록2024/01/04 (1)
Coding Planet

아래와 같이 application.properties에서 데이터베이스 연결 설정을 했다. # H2 spring.datasource.url=jdbc:h2:file:C:/Users/Hyeonjeong.Jeon/test/test spring.datasource.driverClassName=org.h2.Driver spring.datasource.username=sa spring.datasource.password= # H2 spring.h2.console.enabled=true spring.h2.console.path=/h2-console # create > 기존 테이블 삭제하고 자동 재성성, update 업데이트 spring.jpa.hibernate.ddl-auto=update spring.jpa.prope..
DB, SQL
2024. 1. 4. 13:36