I just replied to the other email before I read this one.
So I looked into that namespace yesterday. I thought it was kind of what I
was looking for.
But the method take an objectID - so how would I get the name of the cache
from the object id?
For example the method
protected abstract DataCachePCData removeInternal(Object oid);
I was thinking this is the one I will need to override - if correct - then
how do I get the entity metadata from the oid?
Frederic
Pinaki Poddar
<[EMAIL PROTECTED]
rg> To
[email protected]
cc
03/28/2008 10:29
AM Subject
Re: Where in the code does open jpa
call get and put for the L2 cache
Please respond to
[EMAIL PROTECTED]
che.org
Satrt looking from
interface org.apache.openjpa.datacache.DataCache
And its abstract implementation is a good place to extend
abstract class org.apache.openjpa.datacache.AbstractDataCache
Once you implement your own L2 caches (possibly as an extension of
AbstractDataCache) -- OpenJPA will wire up your implementation merely by
configuration.
--
View this message in context:
http://www.nabble.com/Where-in-the-code-does-open-jpa-call-get-and-put-for-the-L2-cache-tp16343557p16355903.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.