Skip to content

Commit 3a5e189

Browse files
committed
migrate spring-bootfrom 2 to 3
1 parent ea184ce commit 3a5e189

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

src/main/resources/application.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,10 @@ spring:
3333
generate-ddl: true
3434
database-platform: POSTGRESQL
3535
hibernate:
36-
#ddl-auto: create-drop update validate
37-
ddl-auto: ${BLOODMONEY_HIBERNATE_DDL_AUTO}
36+
ddl-auto: create-drop
37+
#ddl-auto: update
38+
#ddl-auto: validate
39+
#ddl-auto: ${BLOODMONEY_HIBERNATE_DDL_AUTO}
3840
naming:
3941
implicit-strategy: org.hibernate.boot.model.naming.ImplicitNamingStrategyJpaCompliantImpl
4042
physical-strategy: org.hibernate.boot.model.naming.PhysicalNamingStrategyStandardImpl
@@ -152,8 +154,9 @@ spring:
152154
log-dir: transaction-logs/tx-logs-simpleworklist
153155
jpa:
154156
hibernate:
155-
#ddl-auto: create-drop update validate
156-
ddl-auto: validate
157+
ddl-auto: create-drop
158+
#ddl-auto: update
159+
#ddl-auto: validate
157160
server:
158161
port: ${PORT}
159162
compression:

0 commit comments

Comments
 (0)