Re-add test and fix compile error

This commit is contained in:
Jonas Pöhler
2021-09-13 17:04:22 +02:00
parent 12fe54da24
commit a582db9101
2 changed files with 29 additions and 2 deletions
@@ -293,7 +293,7 @@ public final class PersistRequestBean<T> extends PersistRequest implements BeanP
private void onFailedUpdateUndoGeneratedProperties() {
for (BeanProperty prop : beanDescriptor.propertiesGenUpdate()) {
Object oldVal = intercept.getOrigValue(prop.getPropertyIndex());
Object oldVal = intercept.getOrigValue(prop.propertyIndex());
prop.setValue(entityBean, oldVal);
}
}