>> 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

Reply via email to