[infinispan-dev] Wiki up on Querying

Michael Neale michael.neale at gmail.com
Thu Sep 24 21:35:08 EDT 2009


I prefer the pagination approach - as in practice that makes things
easier to use without thinking as hard... could still have option for
iterators? (or perhaps not, bloat?)

On Fri, Sep 25, 2009 at 12:26 AM, Emmanuel Bernard
<emmanuel at hibernate.org> wrote:
> What do you guys thing of allowing pagination instead of the two
> iterator methods?
> We all know how people love to manipulate iterators.
>
> cq.setFirstResult(10).setMaxResults(20).list();
> //getResults() is probably better than list() IMO
>
> When working on my book, I really realized tat pagination and List was
> the best approach. We have iterators and scrollable results in
> Hibernate just because Core has these legacy approaches.
>
> On 24 sept. 09, at 16:10, Navin Surtani wrote:
>
>> Heya guys,
>>
>> Just to let you know the wiki article on Querying is now up. http://www.jboss.org/community/wiki/QueryingInfinispan
>>
>> Also, have a read at the blog: - http://infinispan.blogspot.com/2009/09/infinispan-query-breaks-into-400cr1_23.html
>>
>>
>>
>>
>> Navin Surtani
>>
>> Intern Infinispan
>> Intern JBoss Cache Searchable
>>
>> _______________________________________________
>> 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
>



-- 
Michael D Neale
home: www.michaelneale.net
blog: michaelneale.blogspot.com



More information about the infinispan-dev mailing list