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

Scott Marlow smarlow at redhat.com
Thu Jul 16 10:25:08 EDT 2015


Thanks Steve, I am forwarding your answer.

-------- Forwarded Message --------
Subject: 	Re: [infinispan-dev] Question about Hibernate ORM 5.0 +
Infinispan 8.0...
Date: 	Thu, 16 Jul 2015 14:20:10 +0000
From: 	Steve Ebersole <steve at hibernate.org>
To: 	Scott Marlow <smarlow at redhat.com>, infinispan -Dev List
<infinispan-dev at lists.jboss.org>



Scott, I don't think I am subscribed to the Infinispan list so I doubt
my reply goes through...

It's already been stated, but for the record, my take is that it is not
proper to have pre-production releases (Beta, etc) be a dependency in a
Final release.  If we have to upgrade Infinispan to 8 in Hibernate to
fix this, that would have to be done in 5.1 or later at this point.


On Thu, Jul 16, 2015, 9:00 AM Scott Marlow <smarlow at redhat.com
<mailto:smarlow at redhat.com>> wrote:



     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?

     Could Infinispan 8.0 support the older
     RpcManager.broadcastRpcCommand(EvictAllCommand,boolean)?

     Adding Steve, so he can respond about the idea of bringing Infinispan
     8.0.0.Beta1 into ORM 5.0.

      >
      >>
      >> 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.

     Just don't break Hibernate ORM and this won't be an issue ;)

      >
      > Radim
      >
      >>
      >>> On 14 July 2015 at 16:16, Radim Vansa <rvansa at redhat.com
     <mailto: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
     <mailto:infinispan-dev at lists.jboss.org>
      >>>>> https://lists.jboss.org/mailman/listinfo/infinispan-dev
      >>>>
      >>>> --
      >>>> Radim Vansa <rvansa at redhat.com <mailto:rvansa at redhat.com>>
      >>>> JBoss Performance Team
      >>>>
      >>>> _______________________________________________
      >>>> infinispan-dev mailing list
      >>>> infinispan-dev at lists.jboss.org
     <mailto:infinispan-dev at lists.jboss.org>
      >>>> https://lists.jboss.org/mailman/listinfo/infinispan-dev
      >>> _______________________________________________
      >>> infinispan-dev mailing list
      >>> infinispan-dev at lists.jboss.org
     <mailto:infinispan-dev at lists.jboss.org>
      >>> https://lists.jboss.org/mailman/listinfo/infinispan-dev
      >>>
      >> _______________________________________________
      >> infinispan-dev mailing list
      >> infinispan-dev at lists.jboss.org
     <mailto:infinispan-dev at lists.jboss.org>
      >> https://lists.jboss.org/mailman/listinfo/infinispan-dev
      >
      >





More information about the infinispan-dev mailing list