net.sf.basedb.core
Class QueryExecutor.CancelableSession
java.lang.Object
net.sf.basedb.core.QueryExecutor.CancelableSession
- All Implemented Interfaces:
- QueryExecutor.Cancelable
- Enclosing class:
- QueryExecutor
static class QueryExecutor.CancelableSession
- extends Object
- implements QueryExecutor.Cancelable
Cancels the query running in a Hibernate session.
- Since:
- 2.7
Field Summary |
private org.hibernate.Session |
session
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
session
private final org.hibernate.Session session
QueryExecutor.CancelableSession
QueryExecutor.CancelableSession(org.hibernate.Session session)
cancel
public void cancel()
- Specified by:
cancel
in interface QueryExecutor.Cancelable