db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From t.@apache.org
Subject svn commit: r493537 - /db/torque/runtime/trunk/src/java/org/apache/torque/TorqueInstance.java
Date Sat, 06 Jan 2007 18:51:35 GMT
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: torque-dev-unsubscribe@db.apache.org
For additional commands, e-mail: torque-dev-help@db.apache.org


Mime
View raw message