mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-11-17 22:56:28 +00:00
#1294 - NPE when delete cascade from bean with SoftDelete to imported OneToOne without SoftDelete
This commit is contained in:
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.
|
||||
*/
|
||||
|
||||
Reference in new issue
Block a user