From bb7c9b2fd8cc0077cdde85e6cf595c2b54d611c0 Mon Sep 17 00:00:00 2001 From: "Richard G. Curtis" Date: Mon, 2 Aug 2010 15:14:23 +0000 Subject: [PATCH] OPENJPA-1727: Update QueryCacheStoreQuery.checkCache. git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@981549 13f79535-47bb-0310-9956-ffa450edef68 --- .../java/org/apache/openjpa/datacache/QueryCacheStoreQuery.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openjpa-kernel/src/main/java/org/apache/openjpa/datacache/QueryCacheStoreQuery.java b/openjpa-kernel/src/main/java/org/apache/openjpa/datacache/QueryCacheStoreQuery.java index 07b22943f..92dc78fae 100644 --- a/openjpa-kernel/src/main/java/org/apache/openjpa/datacache/QueryCacheStoreQuery.java +++ b/openjpa-kernel/src/main/java/org/apache/openjpa/datacache/QueryCacheStoreQuery.java @@ -144,7 +144,7 @@ public class QueryCacheStoreQuery for (Long ts: timestamps) { // if this is true we have to evict the query // from cache - if (queryTS < ts) { + if (queryTS <= ts) { qcache.remove(qk); return null; }