cayenne-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hugi Thordarson <h...@karlmenn.is>
Subject Re: M5
Date Wed, 15 Feb 2017 08:52:37 GMT
>> ObjectSelect
>> 	.query( Person.class )
>> 	.columns( Person.NAME, Person.DIVISION )
>> 	.select( someContext );
>> 
>> …to return the same result as this EJBQL:
>> 
>> new EJBQLQuery( "select p.name, p.division from Person p" );
> 
> Yeah, a thing to consider as the next step. E.g. I'd like to be able to run queries analogous
to this EJBQL:
> 
> select e, count(e.someToMany) from Entity e

That would be awesome :)

- hugi
Mime
View raw message