On Nov 20, 2007, at 7:02 PM, Andrus Adamchik wrote:
SelectQuery<Artist> q = new SelectQuery(Artist.class);
And the correct form of the query above (if we are to parameterize Query interface) will look like this:
SelectQuery<Artist> q = new SelectQuery<Artist>(Artist.class);So from now on all queries will have to be instantiated with <class>, even non-selecting ones, making things extra verbose and redundant ... generics really suck :-/ I may ditch the idea about the query parameter.
Andrus
