Hi all,
I am trying to perform an Order by using the Criteria API on sub Classes of the initial Class the Criteria was created on.
Code:
public List listApplicationLands(Long clasCaseKey) throws PersistenceLayerException {
ClasCriteria criteria = null;
try {
criteria = createCriteria(ApplicationLand.class);
criteria.addOrder(Order.desc("historySummary.created"));
} catch (Exception e) {
throw ExceptionUtil.createPersistenceLayerException(log, res,
"listApplicationLands",
"while listing the ApplicationLands", e);
}
return criteria.list();
}
I have scanned the forums and it seems this is an issue in version 2.1.2, can anybody tell me if this functionality has made it into 2.1.4
Thanks