Package 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
-
Constructor Summary
-
Method Summary
-
Field Details
-
session
-
-
Constructor Details
-
CancelableStatelessSession
CancelableStatelessSession(StatelessSession session)
-
-
Method Details
-
cancel
public void cancel()- Specified by:
cancel
in interfaceQueryExecutor.Cancelable
-