/** * Return true if this many node should be included in the query. */ private boolean isIncludeMany(String propName, BeanPropertyAssocMany<?> manyProp) { if (queryDetail.isJoinsEmpty()) { return false; } if (queryDetail.includesPath(propName)) { if (manyProperty != null) { // only one many associated allowed to be included in fetch if (logger.isDebugEnabled()) { logger.debug("Not joining [" + propName + "] as already joined to a Many[" + manyProperty + "]."); } return false; } manyProperty = manyProp; summary.append(" +many:").append(propName); return true; } return false; }
/** * Return true if this many node should be included in the query. */ private boolean isIncludeMany(String prefix, String propName, BeanPropertyAssocMany<?> manyProp) { if (queryDetail.isJoinsEmpty()) { return false; } if (queryDetail.includes(propName)) { if (manyProperty != null) { // only one many associated allowed to be included in fetch if (logger.isLoggable(Level.FINE)) { String msg = "Not joining [" + propName + "] as already joined to a Many[" + manyProperty + "]."; logger.fine(msg); } return false; } manyProperty = manyProp; manyPropertyName = propName; summary.append(" +many:").append(propName); return true; } return false; }
/** * Return true if this many node should be included in the query. */ private boolean isIncludeMany(String prefix, String propName, BeanPropertyAssocMany<?> manyProp) { if (queryDetail.isJoinsEmpty()) { return false; } if (queryDetail.includes(propName)) { if (manyProperty != null) { // only one many associated allowed to be included in fetch if (logger.isLoggable(Level.FINE)) { String msg = "Not joining [" + propName + "] as already joined to a Many[" + manyProperty + "]."; logger.fine(msg); } return false; } manyProperty = manyProp; manyPropertyName = propName; summary.append(" +many:").append(propName); return true; } return false; }