diff --git a/src/main/java/com/samskivert/depot/Query.java b/src/main/java/com/samskivert/depot/Query.java index b15f4f8..5f39cca 100644 --- a/src/main/java/com/samskivert/depot/Query.java +++ b/src/main/java/com/samskivert/depot/Query.java @@ -62,7 +62,7 @@ public class Query { /** Disables the use of the cache for this query. */ public Query noCache () { - return cache(DepotRepository.CacheStrategy.BEST); + return cache(DepotRepository.CacheStrategy.NONE); } /** Configures the use of {@link DepotRepository.CacheStrategy#BEST} for this query. */