Package com.webobjects.eoaccess

Examples of com.webobjects.eoaccess.EOSchemaGeneration.primaryKeySupportStatementsForEntityGroup()


      attributes.addObject(attribute);
    }
    entity.setPrimaryKeyAttributes(attributes);
    NSArray<EOSQLExpression> expressions = schemaGeneration.primaryKeyConstraintStatementsForEntityGroup(new NSArray<EOEntity>(entity));
    ERXMigrationDatabase._ensureNotEmpty(expressions, "add primary key", true);
    NSArray<EOSQLExpression> supportExpressions = schemaGeneration.primaryKeySupportStatementsForEntityGroup(new NSArray<EOEntity>(entity));
    return expressions.arrayByAddingObjectsFromArray(supportExpressions);
  }
 
  /**
   * Executes the SQL operations to add this unique index.
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.