Skip to content

Commit a79f811

Browse files
committed
chore:jpa 관련 설정 추가
1 parent ca34d1e commit a79f811

1 file changed

Lines changed: 19 additions & 0 deletions

File tree

  • apps/commerce-api/src/main/resources
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
datasource:
2+
mysql-jpa:
3+
main:
4+
jdbc-url: "jdbc:mysql://127.0.0.1:3306/loopers?serverTimezone=Asia/Seoul&characterEncoding=UTF-8&useSSL=false&allowPublicKeyRetrieval=true"
5+
username: application
6+
password: application
7+
driver-class-name: com.mysql.cj.jdbc.Driver
8+
maximum-pool-size: 10
9+
minimum-idle: 5
10+
pool-name: MyHikariCP
11+
12+
spring:
13+
jpa:
14+
hibernate:
15+
ddl-auto: update
16+
show-sql: true
17+
properties:
18+
hibernate:
19+
format_sql: true

0 commit comments

Comments
 (0)