#704 - Internal refactor to use excludeBeanCache in DefaultOrmQuery

This commit is contained in:
Robin Bygrave
2016-05-13 15:56:45 +12:00
parent 8c6653605d
commit d1d4bf1da8
13 changed files with 182 additions and 39 deletions
@@ -526,9 +526,15 @@ public interface SpiQuery<T> extends Query<T> {
boolean hasMaxRowsOrFirstRow();
/**
* Return true if this query should use/check the bean cache.
* Return true if the bean cache should be exclude for query or lazy loading.
*/
Boolean isUseBeanCache();
boolean isExcludeBeanCache();
/**
* Return true if this query should use the bean cache.
* It is not skipped and bean caching is supported.
*/
boolean isUseBeanCache();
/**
* Return true if this query should use/check the query cache.