#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:37:13 +13:00
1 parent 8544712448
commit 1c34c09f3c
1 file changed
+1 -1
@@ -87,7 +87,7 @@ class SaveManyBeans extends SaveManyBase {
if (!many.isManyToMany()) {
return true;
}
return transaction.isSaveAssocManyIntersection(many.getIntersectionTableJoin().getTable(), many.getBeanDescriptor().getName());
return transaction.isSaveAssocManyIntersection(many.getIntersectionTableJoin().getTable(), many.getBeanDescriptor().rootName());
}
private boolean isModifyListenMode() {