[infinispan-dev] Question about Hibernate ORM 5.0 + Infinispan 8.0...

Scott Marlow smarlow at redhat.com
Wed Jul 15 09:25:46 EDT 2015


Looks like Hibernate 5.0 cannot be compiled against Infinispan 8.0.0.Beta1:

"
hibernate-infinispan/src/main/java/org/hibernate/cache/infinispan/util/Caches.java:209: 
error: cannot find symbol
                         rpcManager.broadcastRpcCommand( cmd, isSync );
                                   ^
   symbol:   method broadcastRpcCommand(EvictAllCommand,boolean)
   location: variable rpcManager of type RpcManager
"

Will this be fixed in Hibernate ORM 5.0 or Infinispan 8.0.0.Beta2?

More inline below...

On 07/14/2015 05:27 PM, Sanne Grinovero wrote:
> Hi Radim, I suspect that Steve won't allow an Infinispan upgrade to 8
> in a micro release of Hibernate.. that's against our conventions.
> The better plan would be to work towards a Hibernate 5.1 version for
> this, or make sure to talk with him in advance if that doesn't work
> out.

The first beta of WildFly 10 is scheduled for August 6th, 2015.  IMO, 
with that target in mind, we should figure out if we can have a 
Hibernate 5.x and Infinispan 8.x that work together.  I don't 
particularly care if the Hibernate ORM 5.0 release uses Infinispan 8.x, 
as long as someone is making sure Infinispan 8.x and ORM 5.0, work well 
together.  IMO, we should either change the Infinispan 8 API to still 
work with Hibernate ORM 5 or update ORM 5 to work with Infinispan 8.

>
> On 14 July 2015 at 16:16, Radim Vansa <rvansa at redhat.com> wrote:
>> IIRC currently hibernate-infinispan module uses just the basic cache
>> API, which won't change. However, with certain consistency fixes ([1]
>> [2] and maybe more) the Interceptor API is used (as the basic
>> invalidation mode cannot make 2LC consistent on it own), which is about
>> to change in Infinispan 8.0.
>> I will take care of updating hibernate-infinispan module to 8.0 when it
>> will be out. Since that would require only changes internal to that
>> module, I hope this upgrade can be scoped to a micro-release.
>>
>> Radim
>>
>> [1] https://hibernate.atlassian.net/browse/HHH-9868
>> [2] https://hibernate.atlassian.net/browse/HHH-9881
>>
>> On 07/14/2015 02:34 PM, Scott Marlow wrote:
>>> Hi,
>>>
>>> I heard that Infinispan 8.0 may soon be integrated into WildFly 10.0.
>>> If that happens, how does that impact Hibernate ORM 5.0 which currently
>>> integrates with Infinispan 7.2.1.Final?  Does Hibernate ORM 5.0 need any
>>> changes to integrate with Infinispan 8.0?
>>>
>>> Thanks,
>>> Scott
>>> _______________________________________________
>>> infinispan-dev mailing list
>>> infinispan-dev at lists.jboss.org
>>> https://lists.jboss.org/mailman/listinfo/infinispan-dev
>>
>>
>> --
>> Radim Vansa <rvansa at redhat.com>
>> JBoss Performance Team
>>
>> _______________________________________________
>> infinispan-dev mailing list
>> infinispan-dev at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/infinispan-dev
> _______________________________________________
> infinispan-dev mailing list
> infinispan-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/infinispan-dev
>


More information about the infinispan-dev mailing list