count++;
}
}
if (count != primaryKeys.size()) {
throw new UnsupportedException("PrimaryKeys have " + primaryKeys.size()
+ " Fields, but only find " + count + " Fields");
}
LinkedHashMap<String, Field> columns = table.getColumns();
for (Field field : columns.values()) {
if (field.getKeyWord() == FieldKeyWord.REQUIRED) {
if (!inSet(fields, field)) {
throw new UnsupportedException("Field " + field.getName()
+ " is REQUIRED, but don't show up ");
}
}
}
}