[infinispan-dev] OGM, Hot Rod and Grouping API

Emmanuel Bernard emmanuel at hibernate.org
Fri Jun 6 08:51:24 EDT 2014


We expect the same semantic as a RDBMS in READ_COMMITTED. getGroup() would be equivalent to a select * from ASSOC_TABLE where owner_id = 2. Phantom reads would be acceptable.

Does that answer your question? Because I’m not sure what you mean by the key being attached to the Tx.

On 06 Jun 2014, at 14:38, Pedro Ruivo <pedro at infinispan.org> wrote:

> Hi Davide,
> 
> what kind of transactional semantics are expected? when you invoke 
> getGroup(), do you expect the keys to be attached to the transaction (in 
> the read-set). same question for removeGroup()
> 
> Cheers,
> Pedro
> 
> On 05/28/2014 11:52 AM, Davide D'Alto wrote:
>> Hi all,
>> some time ago we talked on the mailing list about the integration
>> between Hibernate OGM and Hot Rod.
>> 
>> To achieve this we would need to include the grouping API in the Hot Rod
>> protocol and to add a couple of methods in the grouping API:
>> 
>> - to get the keys in a group
>> - to remove the keys in a group
>> 
>> Mircea created an experimental stub where the method " <G, KG> Set<KG>
>> getGroupKeys(G group) " is added to the Cache interface.
>> I've rebased the branch to the latest changes (I might have introduce
>> some errors): https://github.com/DavideD/infinispan/compare/ISPN-3981
>> 
>> I should have implemented the methods but I haven't had the time to work
>> on these features.
>> 
>> There are also two issues to keep track of this:
>> 
>> https://issues.jboss.org/browse/ISPN-3732
>> https://issues.jboss.org/browse/ISPN-3981
>> 
>> As far as I know, the API for Infinispan 7 is going to be freezed soon,
>> I was wondering if this changes have been taken into account and,
>> if not, is it possible to include them?
>> 
>> Thanks,
>> Davide
>> 
>> 
>> _______________________________________________
>> 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