Re: [infinispan-dev] Which QueryBuilder ?

2013-10-09 Thread Adrian Nistor
Hi Sanne and Martin, these come from different products. Would they really appear in the same documentation and javadoc? Are usually used in different contexts too, although there might be users wanting to use both HS QB and ISPN QB in the same context, so to ease their pain I suggest using

Re: [infinispan-dev] Which QueryBuilder ?

2013-10-09 Thread Sanne Grinovero
On 9 October 2013 13:30, Adrian Nistor anis...@redhat.com wrote: Hi Sanne and Martin, these come from different products. No they come from different projects, but are part of the same product. Would they really appear in the same documentation and javadoc? As far as I understood, and

Re: [infinispan-dev] Which QueryBuilder ?

2013-10-08 Thread Martin Gencur
Right Sanne, it's already starting to be a documentation problem for the product. It's really confusing unless you developed one of these APIs and precisely know the differences :) Any time there's a code snippet, it must contain the package (usually this is not needed), but even then it's

Re: [infinispan-dev] Which QueryBuilder ?

2013-10-03 Thread Adrian Nistor
I would suggest renaming the old one :)) On 10/02/2013 11:13 PM, Sanne Grinovero wrote: It seems we have now 2 different interfaces both names QueryBuilder when using Infinispan Query. One is coming from Hibernate Search, and represents the classic way to build queries for Infinispan Query in

Re: [infinispan-dev] Which QueryBuilder ?

2013-10-03 Thread Emmanuel Bernard
It's already productized code. On Thu 2013-10-03 14:16, Adrian Nistor wrote: I would suggest renaming the old one :)) On 10/02/2013 11:13 PM, Sanne Grinovero wrote: It seems we have now 2 different interfaces both names QueryBuilder when using Infinispan Query. One is coming from

Re: [infinispan-dev] Which QueryBuilder ?

2013-10-03 Thread Adrian Nistor
I know, was just joking. Anyway, I don't see any confusion having two classes with the same name. On 10/03/2013 02:29 PM, Emmanuel Bernard wrote: It's already productized code. On Thu 2013-10-03 14:16, Adrian Nistor wrote: I would suggest renaming the old one :)) On 10/02/2013 11:13 PM,

Re: [infinispan-dev] Which QueryBuilder ?

2013-10-03 Thread Sanne Grinovero
On 3 October 2013 14:10, Adrian Nistor anis...@redhat.com wrote: I know, was just joking. Anyway, I don't see any confusion having two classes with the same name. It's going to be hard enough to explain to people why we are providing two different approaches, if we can't even think of a

[infinispan-dev] Which QueryBuilder ?

2013-10-02 Thread Sanne Grinovero
It seems we have now 2 different interfaces both names QueryBuilder when using Infinispan Query. One is coming from Hibernate Search, and represents the classic way to build queries for Infinispan Query in embedded mode. The other one is new, and represents the simplified approach, also