/** * INTERNAL: * Return if the attribute is specified for batch reading. */ public boolean isAttributeBatchRead(ClassDescriptor mappingDescriptor, String attributeName) { if (this.batchFetchPolicy == null) { return false; } return this.batchFetchPolicy.isAttributeBatchRead(mappingDescriptor, attributeName); }
/** * INTERNAL: * Return if the attribute is specified for batch reading. */ public boolean isAttributeBatchRead(ClassDescriptor mappingDescriptor, String attributeName) { if (this.batchFetchPolicy == null) { return false; } return this.batchFetchPolicy.isAttributeBatchRead(mappingDescriptor, attributeName); }
/** * INTERNAL: * Return if the attribute is specified for batch reading. */ public boolean isAttributeBatchRead(ClassDescriptor mappingDescriptor, String attributeName) { if (this.attributeExpressions == null) { return false; } if (this.attributes != null) { return this.attributes.contains(attributeName); } return isAttributeBatchRead(attributeName); }
/** * INTERNAL: * Return if the attribute is specified for batch reading. */ public boolean isAttributeBatchRead(ClassDescriptor mappingDescriptor, String attributeName) { if (this.attributeExpressions == null) { return false; } if (this.attributes != null) { return this.attributes.contains(attributeName); } return isAttributeBatchRead(attributeName); }