This commit is contained in:
James Agnew
2019-07-14 12:09:37 -04:00
parent 3c6343e20d
commit 76aafe0fa7
2 changed files with 6 additions and 6 deletions

View File

@@ -138,11 +138,11 @@
</exclusions> </exclusions>
</dependency> </dependency>
<!-- This example uses Derby embedded database. If you are using another database such as Mysql or Oracle, you may omit the following dependencies and replace them with an appropriate database client <!-- This example uses H2 embedded database. If you are using another database such as Mysql or Oracle, you may omit the following dependencies and replace them with an appropriate database client
dependency for your database platform. --> dependency for your database platform. -->
<dependency> <dependency>
<groupId>org.apache.derby</groupId> <groupId>com.h2database</groupId>
<artifactId>derby</artifactId> <artifactId>h2</artifactId>
</dependency> </dependency>
<!-- The following dependencies are only needed for automated unit tests, you do not neccesarily need them to run the example. --> <!-- The following dependencies are only needed for automated unit tests, you do not neccesarily need them to run the example. -->

View File

@@ -31,8 +31,8 @@ logger.name=fhirtest.access
logger.format=Path[${servletPath}] Source[${requestHeader.x-forwarded-for}] Operation[${operationType} ${operationName} ${idOrResourceName}] UA[${requestHeader.user-agent}] Params[${requestParameters}] ResponseEncoding[${responseEncodingNoDefault}] logger.format=Path[${servletPath}] Source[${requestHeader.x-forwarded-for}] Operation[${operationType} ${operationName} ${idOrResourceName}] UA[${requestHeader.user-agent}] Params[${requestParameters}] ResponseEncoding[${responseEncodingNoDefault}]
logger.error_format=ERROR - ${requestVerb} ${requestUrl} logger.error_format=ERROR - ${requestVerb} ${requestUrl}
logger.log_exceptions=true logger.log_exceptions=true
datasource.driver=org.apache.derby.jdbc.EmbeddedDriver datasource.driver=org.h2.Driver
datasource.url=jdbc:derby:directory:target/jpaserver_derby_files;create=true datasource.url=jdbc:h2:file:target/jpaserver_derby_files
datasource.username= datasource.username=
datasource.password= datasource.password=
server.name=Local Tester server.name=Local Tester
@@ -47,7 +47,7 @@ test.port=
################################################### ###################################################
# Database Settings # Database Settings
################################################### ###################################################
hibernate.dialect=ca.uhn.fhir.jpa.util.DerbyTenSevenHapiFhirDialect hibernate.dialect=org.hibernate.dialect.H2Dialect
hibernate.search.model_mapping=ca.uhn.fhir.jpa.search.LuceneSearchMappingFactory hibernate.search.model_mapping=ca.uhn.fhir.jpa.search.LuceneSearchMappingFactory
hibernate.format_sql=false hibernate.format_sql=false
hibernate.show_sql=false hibernate.show_sql=false