Removing dialect as it is calculated by hibernate

This commit is contained in:
jvi
2020-09-18 18:29:12 +02:00
parent 2979aca07d
commit c7d5716ffb

View File

@@ -14,8 +14,8 @@ public class EnvironmentHelper {
public static Properties getHibernateProperties(ConfigurableEnvironment environment) { public static Properties getHibernateProperties(ConfigurableEnvironment environment) {
Properties properties = new Properties(); Properties properties = new Properties();
if (environment.getProperty("spring.jpa.properties", String.class) == null) { if (environment.getProperty("spring.jpa.properties", String.class) == null) {
properties.put("hibernate.dialect", "org.hibernate.dialect.H2Dialect");
properties.put("hibernate.search.model_mapping", "ca.uhn.fhir.jpa.search.LuceneSearchMappingFactory"); properties.put("hibernate.search.model_mapping", "ca.uhn.fhir.jpa.search.LuceneSearchMappingFactory");
properties.put("hibernate.format_sql", "false"); properties.put("hibernate.format_sql", "false");
properties.put("hibernate.show_sql", "false"); properties.put("hibernate.show_sql", "false");