it seems poolman does more caching than we thought. it caused problems -mh
[mir.git] / source / mir / misc / MirConfig.java
index 88fa0aa..c22c2e0 100755 (executable)
@@ -40,7 +40,7 @@ public class MirConfig extends Configuration {
    * @param name, The name of the servlet (usually "Mir")
    * @param confName, the name of the config file to load.
    */
-  public static synchronized void initConfig(String home, String uri, 
+  public static synchronized void initConfig(String home, String uri,
                                             String name, String confName) {
     initConfResource(confName);
     configHash = new HashMap();
@@ -139,6 +139,7 @@ public class MirConfig extends Configuration {
       meta.setJNDIName("mir");
       meta.setMaximumSize(Integer.parseInt(max));
       meta.setMinimumSize(Integer.parseInt(min));
+      meta.setPoolPreparedStatements(false);
       meta.setCacheEnabled(false);
       meta.setCacheSize(15);
       meta.setDebugging(false);