Package de.mhus.lib.adb

Examples of de.mhus.lib.adb.DbSchema


    return manager;
  }
 
  public void initApplication() throws Exception {
   
    DbSchema schema = (DbSchema) getConnection().getActivator().createObject(getConfig().getExtracted("schema"));
    schema.doInit(getConfig());
    manager = new DbManager(((DbCaoConnection)getConnection()).getPool(), schema, getConnection().getActivator());
    for ( Entry<String, CaoMetadata> caoMap : manager.getCaoMetadata().getBundle().entrySet()) {
      mIndex.put(caoMap.getKey(), new DbMetadata(caoMap.getValue()));
    }
    schema.doPostInit(manager);
  }
View Full Code Here


    schema.doPostInit(manager);
  }

  @Override
  public void fillWithActions(CaoElement element, CaoList targetList, CaoActionList actionList,Object...initConfig) {
    DbSchema schema = manager.getSchema();
    if (schema instanceof CaoAdbSchema)
      ((CaoAdbSchema)schema).fillWithActions(element, targetList, actionList, initConfig);
    super.fillWithActions(element, targetList, actionList, initConfig);
  }
View Full Code Here

TOP

Related Classes of de.mhus.lib.adb.DbSchema

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.