From fd4be08c78c3e53e0473be236fb8d75e4155d7e6 Mon Sep 17 00:00:00 2001 From: Michael Bayne Date: Sat, 30 Apr 2011 23:21:35 +0000 Subject: [PATCH] None would be best in this case. --- src/main/java/com/samskivert/depot/Query.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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. */