/** * PUBLIC: * Set the batch fetch type for the query. * This can be JOIN, EXISTS, or IN. * This defines the type of batch reading to use with the query. * The query must have defined batch read attributes to set its fetch type. * * @see #addBatchReadAttribute(Expression) */ public void setBatchFetchType(BatchFetchType type) { getBatchFetchPolicy().setType(type); setIsPrepared(false); }
/** * PUBLIC: * Set the batch fetch type for the query. * This can be JOIN, EXISTS, or IN. * This defines the type of batch reading to use with the query. * The query must have defined batch read attributes to set its fetch type. * * @see #addBatchReadAttribute(Expression) */ public void setBatchFetchType(BatchFetchType type) { getBatchFetchPolicy().setType(type); setIsPrepared(false); }
this.batchFetchPolicy = new BatchFetchPolicy(); if (getDescriptor().getObjectBuilder().hasInBatchFetchedAttribute()) { this.batchFetchPolicy.setType(BatchFetchType.IN);
this.batchFetchPolicy = new BatchFetchPolicy(); if (getDescriptor().getObjectBuilder().hasInBatchFetchedAttribute()) { this.batchFetchPolicy.setType(BatchFetchType.IN);