net.sf.basedb.core
Class QueryExecutor.CancelableStatelessSession
java.lang.Object
net.sf.basedb.core.QueryExecutor.CancelableStatelessSession
- All Implemented Interfaces:
- QueryExecutor.Cancelable
- Enclosing class:
- QueryExecutor
static class QueryExecutor.CancelableStatelessSession
- extends Object
- implements QueryExecutor.Cancelable
Cancels a query running in a stateless Hibernate session. NOTE! This
functionality depends on a cast to StatelessSessionImpl
. It
may not be future-proof since it is not part of the public Hibernate
API.
- Since:
- 2.7
Field Summary |
private org.hibernate.StatelessSession |
session
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
session
private final org.hibernate.StatelessSession session
QueryExecutor.CancelableStatelessSession
QueryExecutor.CancelableStatelessSession(org.hibernate.StatelessSession session)
cancel
public void cancel()
- Specified by:
cancel
in interface QueryExecutor.Cancelable