mirror of https://github.com/apache/openjpa.git
OPENJPA-1727: Update QueryCacheStoreQuery.checkCache.
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@981549 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
1b07ef0bc7
commit
bb7c9b2fd8
|
@ -144,7 +144,7 @@ public class QueryCacheStoreQuery
|
||||||
for (Long ts: timestamps) {
|
for (Long ts: timestamps) {
|
||||||
// if this is true we have to evict the query
|
// if this is true we have to evict the query
|
||||||
// from cache
|
// from cache
|
||||||
if (queryTS < ts) {
|
if (queryTS <= ts) {
|
||||||
qcache.remove(qk);
|
qcache.remove(qk);
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue