DRIVERS.addElement(driver); if (m_Debug) System.err.println("Added driver: " + driver);
boolean result; try { Class.forName(driver); DRIVERS.addElement(driver); result = true; } catch (Exception e) { result = false; } if (m_Debug || !result) System.err.println( "Trying to add JDBC driver: " + driver + " - " + (result ? "Success!" : "Error, not in CLASSPATH?"));
  public DatabaseUtils() throws Exception {    try {      PROPERTIES = Utils.readProperties(PROPERTY_FILE);         // Register the drivers in jdbc DriverManager      String drivers = PROPERTIES.getProperty("jdbcDriver",					    "jdbc.idbDriver");      if (drivers == null) {	throw new Exception("No jdbc drivers specified");      }      // The call to newInstance() is necessary on some platforms      // (with some java VM implementations)      StringTokenizer st = new StringTokenizer(drivers, ", ");      while (st.hasMoreTokens()) {	String driver = st.nextToken();	DRIVERS.addElement(driver);	if (m_Debug) 	  System.err.println("Added driver: " + driver);      }    } catch (Exception ex) {      System.err.println("Problem reading properties. Fix before continuing.");      System.err.println(ex);    }    m_DatabaseURL = PROPERTIES.getProperty("jdbcURL",					   "jdbc:idb=experiments.prp");    m_stringType=PROPERTIES.getProperty("CREATE_STRING");    m_intType=PROPERTIES.getProperty("CREATE_INT");    m_doubleType=PROPERTIES.getProperty("CREATE_DOUBLE");    String uctn=PROPERTIES.getProperty("checkUpperCaseNames");    if (uctn.equals("true")) {      m_checkForUpperCaseNames=true;    }else {      m_checkForUpperCaseNames=false;    }    uctn=PROPERTIES.getProperty("setAutoCommit");    if (uctn.equals("true")) {      m_setAutoCommit=true;    } else {      m_setAutoCommit=false;    }    uctn=PROPERTIES.getProperty("createIndex");    if (uctn.equals("true")) {      m_createIndex=true;    } else {      m_createIndex=false;    }  }