Details
-
Sub-task
-
Status: Closed
-
Major
-
Resolution: Fixed
-
4.0.M5
-
None
-
None
Description
List<Object[]> result = ObjectSelect.query(Artist.class) // result .columns(artistCount, minSalary, namePart) // WHERE clause .where(Artist.DATE_OF_BIRTH.lt(new Date())) // additional condition in WHERE clause .or(...) // HAVING clause .having(namePart.like("P%")) // additional condition in HAVING clause .or(...) .select(context); for(Object[] r : result) { long count = (long)r[0]; int min = (int)r[1]; String name = (String)r[2]; }