mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
#1606 - Bean with Inheritance and OneToMany with JoinTable and cascade ... doesn't cascade save on all bean types
This commit is contained in:
@@ -84,6 +84,9 @@ class SaveManyBeans extends SaveManyBase {
|
||||
}
|
||||
|
||||
private boolean isSaveIntersection() {
|
||||
if (!many.isManyToMany()) {
|
||||
return true;
|
||||
}
|
||||
return transaction.isSaveAssocManyIntersection(many.getIntersectionTableJoin().getTable(), many.getBeanDescriptor().getName());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user