You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@isis.apache.org by ke...@apache.org on 2011/10/25 11:14:50 UTC

svn commit: r1188581 - /incubator/isis/trunk/framework/runtimes/dflt/objectstores/sql/sql-impl/src/main/java/org/apache/isis/runtimes/dflt/objectstores/sql/SqlPersistorInstaller.java

Author: kevin
Date: Tue Oct 25 09:14:49 2011
New Revision: 1188581

URL: http://svn.apache.org/viewvc?rev=1188581&view=rev
Log:
ISIS-121: Defaults was not being initialised before FieldMappings are set up.

Modified:
    incubator/isis/trunk/framework/runtimes/dflt/objectstores/sql/sql-impl/src/main/java/org/apache/isis/runtimes/dflt/objectstores/sql/SqlPersistorInstaller.java

Modified: incubator/isis/trunk/framework/runtimes/dflt/objectstores/sql/sql-impl/src/main/java/org/apache/isis/runtimes/dflt/objectstores/sql/SqlPersistorInstaller.java
URL: http://svn.apache.org/viewvc/incubator/isis/trunk/framework/runtimes/dflt/objectstores/sql/sql-impl/src/main/java/org/apache/isis/runtimes/dflt/objectstores/sql/SqlPersistorInstaller.java?rev=1188581&r1=1188580&r2=1188581&view=diff
==============================================================================
--- incubator/isis/trunk/framework/runtimes/dflt/objectstores/sql/sql-impl/src/main/java/org/apache/isis/runtimes/dflt/objectstores/sql/SqlPersistorInstaller.java (original)
+++ incubator/isis/trunk/framework/runtimes/dflt/objectstores/sql/sql-impl/src/main/java/org/apache/isis/runtimes/dflt/objectstores/sql/SqlPersistorInstaller.java Tue Oct 25 09:14:49 2011
@@ -47,6 +47,9 @@ public class SqlPersistorInstaller exten
         if (objectStore == null) {
             final FieldMappingLookup fieldMappingLookup = new FieldMappingLookup();
             final JdbcFieldMappingFactoryInstaller installer = new JdbcFieldMappingFactoryInstaller();
+
+            Defaults.initialise(SqlObjectStore.BASE_NAME);
+
             installer.load(fieldMappingLookup);
             // fieldMappingLookup.setValueMappingFactory(new
             // JdbcFieldMappingFactoryInstaller());