FieldInformation keyField = classInformations.getKeyInformation();
if (classInformations.isComplexKey()) {
runComplexKey(update, key, keyField.getSubFields().getFields());
} else {
update.where(QueryBuilder.eq(keyField.getName(), key));
}
return update;
}
private void runComplexKey(Update update, Object key, List<FieldInformation> fields) {