#1776 Fix for - refresh does not work on oneToMany if property was not yet accessed

This commit is contained in:
rob bygrave
2019-07-29 22:46:39 +12:00
parent b111fcfecc
commit a780dc133e
3 changed files with 35 additions and 29 deletions
@@ -22,6 +22,11 @@ public interface STreePropertyAssocMany extends STreePropertyAssoc {
*/
BeanCollection<?> createReferenceIfNull(EntityBean localBean);
/**
* Return a reference collection forcing a new reference on REFRESH query.
*/
BeanCollection<?> createReference(EntityBean localBean, boolean forceNewReference);
/**
* Return true if the property has a join table.
*/