# 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
-
Notifications
You must be signed in to change notification settings - Fork 2
likelion12th-BE/likelion12th_shop_sample
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
likelioin12th - jpa shop session project
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published