Interface HandleScope


public interface HandleScope
Jdbi manages Handles to allow transaction nesting and extension objects to share the same handle as long as they are within a specific scope.
The default scope is "per thread", which is managed by the default implementation of this interface.
It is possible to provide a different implementation by calling Jdbi.setHandleScope(HandleScope) to support e.g. structured concurrency in modern Java or Kotlin coroutines.
  • Method Details