Author: tv
Date: Sat Jan  6 10:51:35 2007
New Revision: 493537

URL: http://svn.apache.org/viewvc?view=rev&rev=493537
Log:
Moved MapBuilder code to make sure IDBroker can be initialized

Modified:
    db/torque/runtime/trunk/src/java/org/apache/torque/TorqueInstance.java

Modified: db/torque/runtime/trunk/src/java/org/apache/torque/TorqueInstance.java
URL: 
http://svn.apache.org/viewvc/db/torque/runtime/trunk/src/java/org/apache/torque/TorqueInstance.java?view=diff&rev=493537&r1=493536&r2=493537
==============================================================================
--- db/torque/runtime/trunk/src/java/org/apache/torque/TorqueInstance.java 
(original)
+++ db/torque/runtime/trunk/src/java/org/apache/torque/TorqueInstance.java Sat 
Jan  6 10:51:35 2007
@@ -155,6 +155,11 @@
         initAdapters(conf);
         initDataSourceFactories(conf);
 
+        // setup manager mappings
+        initManagerMappings(conf);
+
+        isInit = true;
+
         // re-build any MapBuilders that may have gone lost during 
serialization 
         synchronized (mapBuilderCache)
         {
@@ -183,11 +188,6 @@
                 }
             }
         }
-
-        // setup manager mappings
-        initManagerMappings(conf);
-
-        isInit = true;
     }
 
 



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to