Re: Deprecate SelectQuery in 4.2

Joe Baldwin <[email protected]>
Newsgroups gmane.comp.java.cayenne.user
Message-ID <[email protected]>
Arseni,

Disclaimer:
I *just* (this week) upgraded from 4.0.M2 to 4.0.1.  I migrated to using the newer syntax - ex:

	table1.property1.asc()

> SelectQuery is planned to be deprecated in 4.2.

My project makes extensive use of “.andExp” to perform conditional-expression-building.  So the only question I have is concerning discrete expression component building (ie. combining expression-components via “.andExp").  Would this be available or would it be deprecated as well? 

BTW, I do like the newer syntax, as it it much easier to read and is less verbose.  Excellent work!

Thanks
Joe


> On Jun 28, 2019, at 9:47 AM, Arseni Bulatski <[email protected]> wrote:
> 
> Hi all,
> 
> SelectQuery is planned to be deprecated in 4.2.
> ObjectSelect has better api and is recommended to use.
> 
> PR: https://issues.apache.org/jira/browse/CAY-2523
> 
> Please, write your thoughts about it.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.