Examples of DbEntity


Examples of org.apache.cayenne.map.DbEntity

            List<ColumnDescriptor> columns,
            SelectQuery query) {

        final Set<ColumnTracker> attributes = new HashSet<ColumnTracker>();

        DbEntity table = getRootDbEntity();
        for (DbAttribute dba : table.getAttributes()) {
            appendColumn(columns, null, dba, attributes, null);
        }

        return columns;
    }
View Full Code Here

Examples of org.camunda.bpm.engine.impl.db.DbEntity

  // insert //////////////////////////////////////////

  protected void insertEntity(DbEntityOperation operation) {

    final DbEntity dbEntity = operation.getEntity();

    // get statement
    String insertStatement = dbSqlSessionFactory.getInsertStatement(dbEntity);
    insertStatement = dbSqlSessionFactory.mapStatement(insertStatement);
    ensureNotNull("no insert statement for " + dbEntity.getClass() + " in the ibatis mapping files", "insertStatement", insertStatement);

    // execute the insert
    executeInsertEntity(insertStatement, dbEntity);

    // perform post insert actions on entity
View Full Code Here

Examples of org.dmlite.model.persistent.db.DbEntity

    if (modelConfig.isPersistent()) {
      if (modelConfig.getPersistenceType().equalsIgnoreCase("xml")) {
        storeEntity = new XmlEntity(entity, persistentModel);
      } else if (modelConfig.getPersistenceType().equalsIgnoreCase(
          "db.dbLite")) {
        storeEntity = new DbEntity(entity, persistentModel);
      } else if (modelConfig.getPersistenceType().equalsIgnoreCase(
          "db.Hibernate")) {
        storeEntity = new DbEntity(entity, persistentModel);
      }
    }
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.