#1606 - Bean with Inheritance and OneToMany with JoinTable and cascade ... doesn't cascade save on all bean types

This commit is contained in:
rob bygrave
2019-01-09 12:29:28 +13:00
parent 5e22079366
commit 8544712448
5 changed files with 98 additions and 0 deletions
@@ -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());
}