Example #1
0
 public void activateLogging(Object... values) {
   this.close();
   if ((Boolean) values[0]) {
     if (values.length < 2) throw new InvalidParameterException();
     this.conex =
         DbmsInterpreter.connectLogging(db, ((String) values[1]), DbmsInterpreter.properties);
   } else {
     this.conex = DbmsInterpreter.connect(db, DbmsInterpreter.properties);
   }
 }