@Override
public NSArray<EOSQLExpression> primaryKeyConstraintStatementsForEntityGroup(NSArray<EOEntity> entityGroup) {
if (entityGroup.count() != 0) {
EOEntity entity = entityGroup.objectAtIndex(0);
String tableName = entity.externalName();
NSArray<String> keys = entity.primaryKeyAttributeNames();
StringBuilder sql = new StringBuilder();
if (tableName != null && keys.count() > 0) {
sql.append("ALTER TABLE ");
sql.append(quoteTableName(tableName.toUpperCase()));