Kundera Ehcache not working

320 views Asked by At

I am running Kundera 2.8.1 . when i'm configuring ehcache in my persistence.xml its not being picked up. I have a ehcache-test.xml file configured in my classpath. On inspecting i'm finding that Kundera is not picking up the properties from persistence.xml.

In the constructor for EntityManagerFactoryImpl the Map properties is null. Is this a bug in this release?

1

There are 1 answers

4
vivek mishra On

Did you define

  1. <property name="kundera.cache.provider.class" value="com.impetus.kundera.cache.ehcache.EhCacheProvider" />
  2. <property name="kundera.cache.config.resource" value="/ehcache-test.xml" />