revering to H2 (#449)

This commit is contained in:
Jens Kristian Villadsen
2022-10-27 08:21:08 +02:00
committed by GitHub
parent d61c8a5f96
commit a1e2ca3ae1

View File

@@ -14,10 +14,11 @@ spring:
check-location: false check-location: false
baselineOnMigrate: true baselineOnMigrate: true
datasource: datasource:
url: jdbc:postgresql://hapi-fhir-postgres:5432/hapi url: 'jdbc:h2:file:./target/database/h2'
username: admin #url: jdbc:h2:mem:test_mem
password: admin username: sa
driverClassName: org.postgresql.Driver password: null
driverClassName: org.h2.Driver
max-active: 15 max-active: 15
# database connection pool size # database connection pool size
@@ -31,7 +32,7 @@ spring:
#If using H2, then supply the value of ca.uhn.fhir.jpa.model.dialect.HapiFhirH2Dialect #If using H2, then supply the value of ca.uhn.fhir.jpa.model.dialect.HapiFhirH2Dialect
#If using postgres, then supply the value of ca.uhn.fhir.jpa.model.dialect.HapiFhirPostgres94Dialect #If using postgres, then supply the value of ca.uhn.fhir.jpa.model.dialect.HapiFhirPostgres94Dialect
hibernate.dialect: ca.uhn.fhir.jpa.model.dialect.HapiFhirPostgres94Dialect hibernate.dialect: ca.uhn.fhir.jpa.model.dialect.HapiFhirH2Dialect
# hibernate.hbm2ddl.auto: update # hibernate.hbm2ddl.auto: update
# hibernate.jdbc.batch_size: 20 # hibernate.jdbc.batch_size: 20
# hibernate.cache.use_query_cache: false # hibernate.cache.use_query_cache: false