Hello.

I typically do a lot of

SelectQuery query = new SelectQuery(MyEntity.class, qual);
List entities = ctxt.performQuery(query);

What I want instead is something like

SelectQuery<MyEntity> query = new SelectQuery<MyEntity>(qual);
List<MyEntity> entities = ctxt.performQuery(query);

How can I get rid of the "MyEntity.class, " argument to the SelectQuery constructor? What about SelectQuery#setFetchingDataRows that changes the expected return type?
What do you think?

Regards,
 - Tore.

Reply via email to