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

Scott Marlow smarlow at redhat.com
Wed Jul 29 14:48:03 EDT 2015


On 07/29/2015 08:58 AM, Tristan Tarrant wrote:
> Looking at the RpcManager interface in 7.x, that method had already been
> deprecated and the recommendation is to migrate to
>
> RpcManager.invokeRemotely(java.util.Collection,
> org.infinispan.commands.ReplicableCommand, RpcOptions)
>
> so I suggest the change should be in ORM rather than in Infinispan.

I think that this will block WildFly 10 from upgrading to Infinispan 8, 
as doing so will break Hibernate 5.0 (when Infinispan 8 is used as the 
2lc).

>
> Tristan
>
> On 27/07/2015 21:51, Scott Marlow wrote:
>> Radim,
>>
>> I tried compiling Hibernate ORM 5.0 (master branch) against Infinispan
>> 8.0.0.Beta2 and get the same compile error.
>>
>> I think that others want to bring Infinispan 8.0.0.Final into WildFly 10
>> but Infinispan 8.0.0.Final currently isn't compatible with Hibernate 5.0
>> (which is almost ready to go final).
>>
>> Would it be possible for Infinispan 8.0.0.Final to correct the below
>> compiler error, so that WildFly 10 can work with both Hibernate 5.0 +
>> Infinispan 8.0?
>>
>> Scott
>>
>> On 07/16/2015 04:34 AM, Radim Vansa wrote:
>>>
>>> On 07/15/2015 03:25 PM, Scott Marlow wrote:
>>>> 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?
>>>
>>> This should be fixed in ORM 5.x, but should I do a PR that uses
>>> Infinispan 8.0.0.Beta1 as dependency, even though 8.0.0.Final won't get
>>> out before ORM 5.0.0.Final?
>>>
>>>>
>>>> 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.
>>>
>>> See above: I would 'make sure' that they work together, but it's IMO not
>>> possible until Infinispan 8.0 is released.
>>>
>>> Radim
>>>
>>>>
>>>>> 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
>>>>>
>>>> _______________________________________________
>>>> 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