// Execute the query
if (JPOXLogger.QUERY.isDebugEnabled())
{
JPOXLogger.QUERY.debug(LOCALISER.msg("021046", "JPQL", getSingleStringQuery()));
}
Evaluator eval = getEvaluator(this, distinct, rof, candidateCollection);
// TODO Cater for BULK_UPDATE, BULK_DELETE where return is Long
QueryResult qr = (QueryResult)eval.evaluate(queryStmt);
queryResults.add(qr);
return qr;
}