On 31/10/18 14:57, Francesco Chicchiriccò wrote:
On 23/10/18 10:28, Дмитрий Брашевец wrote:
Hi guys.
Is there any property which is responsible for clearing the L2 cache
after some period of time? If so, what is the default value?
I’m asking it because I've noticed some strange behaviour with L2
cache. You can find details in the
https://issues.apache.org/jira/browse/SYNCOPE-1386.
Hi,
the JPA caching is driven by OpenJPA configuration, which is by
default simply set as
<entry key="openjpa.DataCache" value="true"/>
<entry key="openjpa.QueryCache" value="true"/>
You are free to add more parameters as described in the OpenJPA
caching guide [1].
This entries need to be added in domains.xml, but require some
additional change in the Syncope configuration as well: I'll try to
add some notes about this in the reference guide before next release.
Done:
https://ci.apache.org/projects/syncope/2_1_X/reference-guide.html#customize-openjpa-settings
Regards.
[1]
http://openjpa.apache.org/builds/3.0.0/apache-openjpa/docs/ref_guide_caching.html
--
Francesco Chicchiriccò
Tirasa - Open Source Excellence
http://www.tirasa.net/
Member at The Apache Software Foundation
Syncope, Cocoon, Olingo, CXF, OpenJPA, PonyMail
http://home.apache.org/~ilgrosso/