Re: Chainable SelectQuery

2014-10-08 Thread Robert Zeigler
On Oct 7, 2014, at 10/79:31 AM , John Huss wrote: > Hmm... I have a lot to say, so I might ramble a bit. > > 1) Static imports > > I'll never been a big user of static imports, largely because the tooling > (Eclipse) doesn't support them well. Everytime I've used a static import > (which is r

Re: Chainable SelectQuery

2014-10-08 Thread Andrus Adamchik
On Oct 7, 2014, at 7:41 PM, Aristedes Maniatis wrote: >> Yes both are valid. The point of the new one is that deeply nested >> expressions can not be easily built within a context of query, so you'd >> build them separately and then pass the final object to the query. So >> query.or/and(..) i

Re: Chainable SelectQuery

2014-10-08 Thread Andrus Adamchik
On Oct 7, 2014, at 7:41 PM, Aristedes Maniatis wrote: >>> >>> Can't we parse without any ambiguity: >>> >>> exp("artist.dateOfBirth < $date", c.getTime()); >> >> In case of a single parameter you are right. Good point! > > In the case of multiple parameters could we just as easily pass pa