openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sandhya Kishore <>
Subject Re: L2 Cache in OpenJPA on WebSphere Cluster
Date Thu, 30 Oct 2008 21:56:52 GMT
Hi John,

        To setup the ObjectGrid as L2 cache following are the setting that you are
supposed to set in persistence.xml :

     <property name="openjpa.DataCache"                 value=",ObjectGridType=EMBEDDED,
              <property name="openjpa.RemoteCommitProvider" value="sjvm"/> 

              <property name="openjpa.QueryCache"                  

The ObjectGridType can be changed to EMBEDDED or EMBEDDED_PARTITION(to support partitioned
cache) or REMOTE(If the objectgrid is on remote machine).

Hope this helps. 


--- On Thu, 10/30/08, John VanAntwerp <> wrote:
From: John VanAntwerp <>
Subject: L2 Cache in OpenJPA on WebSphere Cluster
Date: Thursday, October 30, 2008, 12:47 PM

I was wondering if anyone has had experience setting up JPA on WebSphere to
support the L2 cache in a clustered environment?

The IBM documentation says to use the ObjectGrid JPA plug-in, but I can't
find any documentation on what the settings are/what properties to use
either in the JPA documentation or the ObjectGrid documentation.

- John
View this message in context:
Sent from the OpenJPA Users mailing list archive at

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message