0
 Query "{myquery}" is removed from cache  excluded permanently. 
 Query "{myquery}" is not cached because its result is not obtained by executing a 
 select statement. This can happen if the query was evaluated in-memory. The result
 was provided by org.apache.openjpa.datacache.QueryCacheStoreQuery$CachingResultObjectProvider.

我的日志中不断收到此 openjpa 警告消息。我们为查询和数据设置了 L2 缓存。在我看来,本质上这意味着数据是从 QueryCache 结果中获取的。但我不会期望仅通过设置 L2 缓存来发出警告

4

1 回答 1

0

阅读用户手册中的Prepared SQL Cache

于 2013-10-14T16:00:10.580 回答