Skip to content

Commit

Permalink
Merge 552a598 into c191666
Browse files Browse the repository at this point in the history
  • Loading branch information
William Welling committed Nov 4, 2022
2 parents c191666 + 552a598 commit 2a967d5
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions src/main/resources/application.yml
@@ -1,7 +1,7 @@
server:
port: 9000
servlet:
context-path: /products
context-path:

# logging
logging:
Expand Down Expand Up @@ -29,17 +29,19 @@ spring:
# profiles: production, development, test
profiles.active: production

sql.init.platform: h2
# sql.init.platform: postgresql

datasource:
platform: h2
driverClassName: org.h2.Driver
url: jdbc:h2:mem:AZ;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=FALSE
# platform: postgres

# driverClassName: org.postgresql.Driver
# url: jdbc:postgresql://localhost:5432/product_management_service

username: spring
password: spring

max-active: 100
max-idle: 8
min-idle: 8
Expand All @@ -52,7 +54,7 @@ spring:

jpa:
database-platform: org.hibernate.dialect.H2Dialect
# database-platform: org.hibernate.dialect.PostgreSQLDialect
# database-platform: org.hibernate.dialect.PostgreSQL10Dialect

show-sql: false
hibernate.ddl-auto: create-drop
Expand Down

0 comments on commit 2a967d5

Please sign in to comment.