-
1. Re: WildFly 13 and Hibernate 2LC
simkam Sep 12, 2018 7:45 AM (in response to bvnghiem1012)Hi,
does you application set hibernate.cache.region.factory_class?
-
2. Re: WildFly 13 and Hibernate 2LC
simkam Sep 12, 2018 10:41 AM (in response to simkam)Disregard my previous comment. I see that you have only
"""
hibernate.cache.use_second_level_cache=true
hibernate.cache.use_query_cache=false
hibernate.cache.infinispan.statistics=false
""".
Can you share server logs? Would it be possible to try it also with WildFly 14?
-
3. Re: WildFly 13 and Hibernate 2LC
narmadalavu Sep 12, 2018 2:36 PM (in response to bvnghiem1012)Hello,
First of all, i am so sorry for replying inappropriate reply in your thread.
But, i really don't know why my post is in draft for long time without getting approved for posting in discussions.
I am getting this notification:
Please note: your content was added successfully, but a moderator needs to approve it before it can be posted.
Please can anyone help with this?
my thread link: The specified item was not found.
Sorry once again and thank you in advance.
-
4. Re: WildFly 13 and Hibernate 2LC
pferraro Sep 12, 2018 9:41 PM (in response to bvnghiem1012)buiduongthe wildfly/JPA_Reference_Guide.adoc at 13.0.0.Final · wildfly/wildfly · GitHub
You can also refer to the relevant test in the WF testsuite as a reference for configuring your application:
wildfly/HibernateSecondLevelCacheTestCase.java at 13.0.0.Final · wildfly/wildfly · GitHub
-
5. Re: WildFly 13 and Hibernate 2LC
bvnghiem1012 Sep 13, 2018 1:23 AM (in response to bvnghiem1012)Thank all for your replies.
After adding hibernate.cache.infinispan.cachemanager=java:jboss/infinispan/container/hibernate it works correctly now