#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 committed 2019-01-09 12:29:28 +13:00
1 parent 5e22079366
commit 8544712448
5 files changed
+98

No files matched your search

@@ -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());
}