Package de.mhus.lib.adb.model

Examples of de.mhus.lib.adb.model.Table


      clazz.asSubclass(DbDynamic.class);
    } catch (ClassCastException e) {
      isDynamic = false;
    }

    Table table = null;
    if (isDynamic)
      table = new TableDynamic();
    else
      table = new TableAnnotations();
    table.init(manager,clazz,registryName,tableName);
    return table;
  }
View Full Code Here


 
  private void query(IConfig config, LinkedList<CaoElement> list) throws Exception {
   
    DbManager manager = ((AdbApplication)getApplication()).getManager();
    String tbl = config.getExtracted("table");
    Table tab = manager.getTable(tbl);
    String qualification = config.getString("qualification",null);
    Object object = manager.createSchemaObject(tbl);
    DbCollection<Object> res = manager.getByQualification(object, qualification, attributes);
    DbMetadata m = ((DbApplication)getApplication()).getMetadata(tab.getTableName());
    for (Object o : res) {
      addObjectToList(config, o, m, tab, list);
    }
    res.close();
  }
View Full Code Here

TOP

Related Classes of de.mhus.lib.adb.model.Table

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.