Example #1
0
  public AnySQLDriver(String cfgfile) {
    try {
      DriverManager.registerDriver(this);
    } catch (SQLException sqle) {
    }

    VariableTable vt = new VariableTable();
    vt.loadFile(cfgfile);
    DBPhysicalManager.loadDBConfig(vt);
    DBLogicalManager.loadDBConfig(vt);
    DBPhysicalManager.markupAll();
  }
Example #2
0
 public AnySQLDriver() {
   try {
     DriverManager.registerDriver(this);
   } catch (SQLException sqle) {
   }
   String cfgfile = System.getProperty("db.config");
   VariableTable vt = new VariableTable();
   if (cfgfile != null) {
     vt.loadFile(cfgfile);
     DBPhysicalManager.loadDBConfig(vt);
     DBLogicalManager.loadDBConfig(vt);
     DBPhysicalManager.markupAll();
   }
 }