# MySQL
spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
spring.datasource.url=jdbc:mysql://{url}:{port}/{db}?serverTimezone=UTC
spring.datasource.username={username}
spring.datasource.password={password}
# 실행 쿼리 출력
spring.jpa.properties.hibernate.show_sql=true
# 쿼리 포맷 설정
spring.jpa.properties.hibernate.format_sql=true
# 바인드 파라미터 출력
logging.level.org.hibernate.type.descriptor.sql=trace
# 데이터베이스 초기화 전략 - DDL AUTO 옵션
spring.jpa.hibernate.ddl-auto={create}
# 데이터베이스 방언 설정
spring.jpa.database-platform=org.hibernate.dialect.MySQL8Dialect
forked from likelion12th-BE/likelion12th_shop_sample
-
Notifications
You must be signed in to change notification settings - Fork 0
Acho-mj/2024_12th_shop
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
likelioin12th - jpa shop session project (멋쟁이사자처럼 서울여자대학교 12기 백엔드 교육 세션)
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
Languages
- Java 94.3%
- HTML 5.7%