Hi All,
TopLink cache consists of two parts:
1. Client/L1
2. Shared/L2
Is it possible to configure them independently? In the TopLink reference
there are two sections:
http://www.oracle.com/technology/products/ias/toplink/jpa/resources/toplink-jpa-extensions.html#BABGDJBC
It seems like the @Cache annotation addresses the Client/L1 cache. The
properties (
eg. <property name="toplink.cache.type.Order" value="Full"/>) the L2.
Is it possible to configure both caches using the persistence.xml properties?
I would like to configure Weak Caches for both levels, however it seems like the L1 cache is still "Full" (or it uses "hard" references to entities)
thank you in advance!,
adam bien
--
Consultant, Author, Java Champion
Homepage: www.adam-bien.com
Weblog: blog.adam-bien.com
eMail: abien_at_adam-bien.com
Mobile: 0049(0)170 280 3144
Books: Enterprise Architekturen (ISBN: 393504299X),
Java EE 5 Architekturen (ISBN: 3939084247),
J2EE Patterns, J2EE Hotspots, Enterprise Frameworks and Struts