From 174f3fcc3e18ff8c96cff854609ce775c862a976 Mon Sep 17 00:00:00 2001 From: eugenp Date: Sun, 5 May 2013 17:51:11 +0300 Subject: [PATCH] config fix --- .../baeldung/spring/persistence/config/PersistenceConfig.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/spring-hibernate4-dao/src/main/java/org/baeldung/spring/persistence/config/PersistenceConfig.java b/spring-hibernate4-dao/src/main/java/org/baeldung/spring/persistence/config/PersistenceConfig.java index 7e8a78b0c4..3157c92e99 100644 --- a/spring-hibernate4-dao/src/main/java/org/baeldung/spring/persistence/config/PersistenceConfig.java +++ b/spring-hibernate4-dao/src/main/java/org/baeldung/spring/persistence/config/PersistenceConfig.java @@ -69,6 +69,8 @@ public class PersistenceConfig { return new Properties() { { setProperty("hibernate.hbm2ddl.auto", env.getProperty("hibernate.hbm2ddl.auto")); + setProperty("hibernate.dialect", env.getProperty("hibernate.dialect")); + // setProperty("hibernate.globally_quoted_identifiers", "true"); // note: necessary in launchpad-storage, but causing problems here }