Class QueryExecutor

java.lang.Object
net.sf.basedb.core.QueryExecutor

public class QueryExecutor extends Object
Utility class for executing SQL and Hibernate queries. If enabled, this class will use a thread pool to execute a query in separate threads. The benefits are:
  • It is possible to limit the number of concurrent queries.
  • It is possible to abort a running query by calling Thread.interrupt() on the thread that called one of the methods in this class.
Version:
2.6
Author:
Nicklas
Last modified
$Date: 2007-08-17 09:18:29 +0200 (fr, 17 aug 2007) $