statement.append(entity.externalName());
statement.append(tableName);
    public NSArray primaryKeyConstraintStatementsForEntityGroup(NSArray entityGroup) {        EOEntity entity;        int count;        int i;        NSMutableArray results;        NSArray priKeyAttributes;        EOAttribute priKeyAttribute;        int priKeyAttributeCount;        int j;        results = new NSMutableArray();        count = entityGroup.count();        for ( i = 0 ; i < count ; i++ ) {            entity = (EOEntity)entityGroup.objectAtIndex(i);            if (!entityUsesSeparateTable(entity)) continue;            StringBuffer statement = new StringBuffer("ALTER TABLE ");            statement.append(entity.externalName());            statement.append(" ADD CONSTRAINT ");            statement.append(entity.externalName());            statement.append("_PK PRIMARY KEY (");            priKeyAttributes = entity.primaryKeyAttributes();            priKeyAttributeCount = priKeyAttributes.count();            for ( j = 0 ; j < priKeyAttributeCount ; j++ ) {                priKeyAttribute = (EOAttribute)priKeyAttributes.objectAtIndex(j);                statement.append(priKeyAttribute.columnName());                if ( j < priKeyAttributeCount - 1 ) {                    statement.append(", ");                } else {                    statement.append(")");                }            }            results.addObject(createExpression(entity, statement.toString()));        }        return results;    }