-
1. Re: About org.infinispan.infinispan-hibernate-cache question
rvansa May 17, 2018 3:48 AM (in response to seto)These modules are aimed for the use case where you run embedded Infinispan in WF, or build the server yourselves. Second-level cache modules will be consumed by WildFly 13 separately, no need to add any modules.
I am not sure if there'll be any further updates for WF <13 - we won't push fixes to Hibernate branches anymore.
-
2. Re: About org.infinispan.infinispan-hibernate-cache question
seto May 17, 2018 3:58 AM (in response to rvansa)Maven Repository: org.infinispan » infinispan-hibernate-cache
There's one for 9.2.3.Final. But it is not included in the infinispan modules. After I updated the hiberanate to 5.3.
The infinispan cache container is not match. Then I can't use secondary level cache.
-
3. Re: About org.infinispan.infinispan-hibernate-cache question
rvansa May 17, 2018 4:20 AM (in response to seto)Inside Wildfly, you can't just upgrade to Hibernate 5.3 - the support will be only in WF 13 (you can expect that soonish) or later. 5.3 involves some breaking changes in SPI and integration layers. The integration of hibernate modules changes a bit (WF will consume infinispan-hibernate-cache-spi instead of extending region factory directly).
Note that org.infinispan:infinispan-hibernate-cache:9.2.3.Final is 2LC for Hibernate 5.2; the matching module for 5.3 is o.i:i-hibernate-cache-v53. Support for 5.2 will be discontinued in Infinispan 9.3, we'll support only 5.1 and 5.3.
-
4. Re: About org.infinispan.infinispan-hibernate-cache question
seto May 17, 2018 4:37 AM (in response to rvansa)Using latest Hibernate ORM within WildFly
According to this doc, I can use Hibernate 5.3 with WF12. But I can't just use 2LC for it. No matter with the default cache container or other.
So I'll just disable 2LC for it at the moment. Thank you for your explanation.
-
5. Re: About org.infinispan.infinispan-hibernate-cache question
seto May 17, 2018 4:45 AM (in response to rvansa)And also, a little question off this topic. Where's the embedded artifact for Infinispan 9.2 and above. Or now suppose developers to choose artifacts themselves.
-
6. Re: About org.infinispan.infinispan-hibernate-cache question
rvansa May 17, 2018 7:19 AM (in response to seto)OK, I didn't know that Hibernate provides such feature pack. Thanks.
About infinispan-embedded: we've stopped pushing uberjars as Maven artifacts since users often mixed this uberjar and other modules which led to cryptic errors with a class on the classpath multiple times. If you use Maven, list all the modules you need. Uberjars are for those that prefer to download and use the library manually; single jar simplifies the handling then.