The configuration looks correct. Data cache for read-only case surely should
show up as performance improvement.
The quick sanity check will be to trace the SQL statements issued by
OpenJPA. In fact if your performance probe is reading same set of instances
repeatedly, there should be no SQL issued by OpenJPA once the instances are
in datacache.

<property name="openjpa.Log" value="SQL=TRACE"/> will enable tracing of SQL.

Also, one can simplify by removing all reference to naming data cache as
then a default cache will be used.


-- 
View this message in context: 
http://www.nabble.com/Data-cache-usage--tp14623378p14809204.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.

Reply via email to