added databasecomponent and now using Derby in the unit tests.
authorerik <erik@77661180-640e-0410-b3a8-9f9b13e6d0e0>
Thu, 15 May 2008 21:22:02 +0000 (21:22 +0000)
committererik <erik@77661180-640e-0410-b3a8-9f9b13e6d0e0>
Thu, 15 May 2008 21:22:02 +0000 (21:22 +0000)
As a result, no external Mysql database must be setup before running
the unit tests. It is now checkout and go!!

system/spring/src/main/java/org/wamblee/system/spring/component/HibernateComponent.java

index 6f5c0a957d240cda73368630b149a3717cb519ca..4b256254ab0e00317d6d4927899321463b2dc8ab 100644 (file)
@@ -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);