Esempio n. 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();
  }
Esempio n. 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();
   }
 }