Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
Consider this example:
SelectQuery<Artist> query = new SelectQuery<Artist>(Artist.class);
query.setFetchingDataRows(true);
List<Artist> objects = context.select(query);
The query actually returns List<DataRow>, but it appears that it returns List<Artist>... Looks like we need something like this here:
SelectQuery<DataRow> drQuery = SelectQuery.dataRowQuery(Artist.class);