質問

 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.

I am getting this openjpa warning message in my logs constantly. We have set L2 caching for both query and data. It seems to me that in essence it means that the data is being fetched from the QueryCache results. But I would not have expected a warning just by setting L2 caching

役に立ちましたか?

解決

Read about the Prepared SQL Cache in the user manual.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top