Details
-
Sub-task
-
Status: Closed
-
Major
-
Resolution: Fixed
-
4.0.M5
-
None
-
None
Description
// Single column long totalCount = ObjectSelect.query(Artist.class) .column(Artist.ARTIST_COUNT) .selectOne(context); // Several columns List<Object[]> result = ObjectSelect.query(Artist.class) .columns(artistCount, minSalary, namePart) .select(context); for(Object[] r : result) { long count = (long)r[0]; int min = (int)r[1]; String namePart = (String)r[2]; }