You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@openjpa.apache.org by David Minor <da...@gmail.com> on 2008/10/03 21:03:41 UTC

DataCache=TRACE turns on QuerySQLCache

I have the QuerySQLCache set to false, but setting the DataCache log
to TRACE seems to turn it back on (openjpa 1.2.0). Does anyone else
have this problem?

-- 
_____________
David Minor

Re: DataCache=TRACE turns on QuerySQLCache

Posted by Jeremy Bauer <te...@gmail.com>.
Hi David.

I think you may be disabling openjpa.jdbc.QuerySQLCache when you
really want to disable openjpa.QueryCache.  These are two separate
caches and work independently of one another.  As defined in the
OpenJPA docs, If you enable openjpa.DataCache, openjpa.QueryCache is
enabled by default.  To disable QueryCache you need to specifically
set it to false.

<property name="openjpa.DataCache" value="true"/>
<property name="openjpa.QueryCache" value="false"/>

-Jeremy