From: erik Date: Thu, 15 May 2008 21:22:02 +0000 (+0000) Subject: added databasecomponent and now using Derby in the unit tests. X-Git-Tag: wamblee-utils-0.2@603~106 X-Git-Url: http://wamblee.org/gitweb/?a=commitdiff_plain;h=692a02ba99594f8da6ae41acbec74af125b9f243;p=utils 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!! --- diff --git a/trunk/system/spring/src/main/java/org/wamblee/system/spring/component/HibernateComponent.java b/trunk/system/spring/src/main/java/org/wamblee/system/spring/component/HibernateComponent.java index 6f5c0a95..4b256254 100644 --- a/trunk/system/spring/src/main/java/org/wamblee/system/spring/component/HibernateComponent.java +++ b/trunk/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);