There is the ParallelExecutor which is backed by a thread pool. Be warned,
the pool size is 3 by default (configurable via a symbol). The
ParallelExecutor will invoke PerThreadManager.cleanup() once your Runnable
completes to clean up the hibernate session and any PerThreadValue
instances.

Reply via email to