From 38e4acb4946a06856a98477c597d0a5f80c36df5 Mon Sep 17 00:00:00 2001 From: erik Date: Thu, 15 May 2008 21:22:02 +0000 Subject: [PATCH] added databasecomponent and now using Derby in the unit tests. As a result, no external Mysql database must be setup before running the unit tests. It is now checkout and go!! --- .../org/wamblee/system/spring/component/HibernateComponent.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system/spring/src/main/java/org/wamblee/system/spring/component/HibernateComponent.java b/system/spring/src/main/java/org/wamblee/system/spring/component/HibernateComponent.java index 6f5c0a95..4b256254 100644 --- a/system/spring/src/main/java/org/wamblee/system/spring/component/HibernateComponent.java +++ b/system/spring/src/main/java/org/wamblee/system/spring/component/HibernateComponent.java @@ -73,7 +73,7 @@ public class HibernateComponent extends SpringComponent { return DerbyDialect.class.getName(); } }); - getHibernateProperties().put(HIBERNATE_DIALECT_PROP, MySQLInnoDBDialect.class.getName()); + getHibernateProperties().put(HIBERNATE_DIALECT_PROP, dialect); return super.doStart(aExternalScope); -- 2.31.1