#1294 - NPE when delete cascade from bean with SoftDelete to imported OneToOne without SoftDelete

This commit is contained in:
Rob Bygrave committed 2018-02-27 15:31:26 +13:00
1 parent 68a470a086
commit c8e199177c
5 files changed
+185 -8

No files matched your search

@@ -186,6 +186,13 @@ public abstract class BeanPropertyAssoc<T> extends BeanProperty {
return targetDescriptor;
}
/**
* Return true if the target side has soft delete.
*/
public boolean isTargetSoftDelete() {
return targetDescriptor.isSoftDelete();
}
/**
* Return true if REFRESH should cascade.
*/