public synchronized boolean cancelQuery() throws JRException {
    if (queryRunning) {
      session.cancelQuery();
      return true;
    }

    return false;
  }
Example #2
0
 public void cancelQuery() throws HibernateException {
   session.cancelQuery();
 }