Hi all,
I didn't try this but I'm wondering if I could use Hibernate OGM with
its Infinispan backend to deploy on JBoss EAP6 and use the Infinispan
build from JDG 6.
Could you make sure this is possible?
I'm expecting some trouble by the fact that depending on Hibernate
*ORM* implicitly or explicitly this will bring along the classpath
visibility of the EAP version of Infinispan (which is not the one we'd
want to use).
For example simply by deploying a JPA based application, we'd get this
version of Infinispan as it's exposed to the application so that it
could be used as a 2nd level cache implementation.
To clarify: the JDG distribution is packaged as a set of JBoss Modules
so you can "layer" them on top of EAP without replacing the Infinispan
& co jars included by the applications server for internal purposes
like session clustering and Hibernate caching.
OGM is for me just one possible case, ultimately we need to make sure
that people using Hibernate can use alternative versions of Infinispan
as well, and not be locked into a specific version by the simple fact
of using JPA: I'm having the same nasty problem with Search: unable to
use JDG for index storage.
Sanne