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);
   }
 }
Example #2
0
  protected AdminBase(DATABASE db, String... args) {

    this.db = db;
    this.commit = true;
    this.autoCommit = false;
    this.startObtainAll = false;
    this.collection = false;
    this.collectionHasName = false;
    this.forceTable = false;
    this.tableForcedName = "";
    this.manager = new EntityManager();
    this.arrayRs = new Stack<ResultSet>();
    this.conex = DbmsInterpreter.connect(db, args);
  }
Example #3
0
 protected boolean createTable(Object entity, Object[] objects) {
   return DbmsInterpreter.createTable(db, this, entity, objects, manager);
 }