boolean hasIdentityColumn = false;
for (Column column : table.getColumnsIncludingInternal()) {
if (column.getDefaultIdentity() != null) {
if (hasIdentityColumn) {
output.reportFailure(new AISValidationFailure (
new MultipleIdentityColumnsException(table.getName())));
} else {
hasIdentityColumn = true;
}
}
}