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

Tristan Tarrant ttarrant at redhat.com
Tue Jul 28 08:13:31 EDT 2015


Yes, while I said "internal", it is that kind of public integration 
point for advanced users (and ORM is one such user) which we feel the 
right to change in a major version upgrade.
Dan, can we temporarily restore that method for Beta3 and mark it as 
deprecated, while at the same time we work on ORM's needs in a way that 
we can also backport to 7.2.x ?

Tristan

On 28/07/2015 13:48, Dan Berindei wrote:
> To be fair, the RpcManager is not in an impl package, so I think it's
> fair for the Hibernate 2LC plugin to use it (as long as they accept
> more breakage than in the basic cache API). OTOH it may be a good idea
> to discuss what 2LC needs, and if we could integrate that in the basic
> API.
>
> Dan
>
> On Tue, Jul 28, 2015 at 1:13 AM, Tristan Tarrant <ttarrant at redhat.com> wrote:
>> We should work to provide a public API we can maintain for the future,
>> instead of ORM relying on Infinispan internals.
>>
>> 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
>>>
>>>
>>
>> --
>> Tristan Tarrant
>> Infinispan Lead
>> JBoss, a division of Red Hat
>> _______________________________________________
>> 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
>
>

-- 
Tristan Tarrant
Infinispan Lead
JBoss, a division of Red Hat


More information about the infinispan-dev mailing list