#1459 - findNative with join to a @OneToMany ... does not map properly

This commit is contained in:
rob bygrave
2018-07-27 12:31:56 +12:00
parent db13034fec
commit 02fe956056
2 changed files with 70 additions and 0 deletions
@@ -213,6 +213,12 @@ public class BeanPropertyAssocMany<T> extends BeanPropertyAssoc<T> implements ST
// by default not including "Many" properties in document store
}
@Override
public void registerColumn(BeanDescriptor<?> desc, String prefix) {
if (targetDescriptor != null) {
desc.registerTable(targetDescriptor.getBaseTable(), this);
}
}
/**
* Return the underlying collection of beans.
*/