#123 - Mapping - Add support for OneToMany JoinTables

This commit is contained in:
Rob Bygrave
2018-02-20 14:40:21 +13:00
parent 8d0df6541e
commit 81d48d67a7
22 changed files with 478 additions and 88 deletions
@@ -96,7 +96,7 @@ class SqlTreeNodeManyWhereJoin implements SqlTreeNode {
} else {
BeanPropertyAssocMany<?> manyProp = (BeanPropertyAssocMany<?>) nodeBeanProp;
if (!manyProp.isManyToMany()) {
if (!manyProp.hasJoinTable()) {
manyProp.addJoin(joinType, parentAlias, alias, ctx);
} else {