Skip to content

JDBI 3.38.0-rc1

Pre-release
Pre-release
Compare
Choose a tag to compare
@hgschmie hgschmie released this 22 Mar 02:20
· 527 commits to master since this release
af78764

This is the first release candidate for JDBI 3.38.0

There are major changes to the extension framework and its major implementations (sqlobject and generator). While the code passes our test suite, this code may expose unexpected problems or hidden bugs. It should be used in production environments with caution.

Depending on the feedback / bug reports we may add another release candidate. Final release will depend on wrapping up documentation for the new extension framework as well.

Changes

  • add SqlStatements#setAttachAllStatementsForCleanup. Setting this configuration flag will attach all created statements to their handles for resource cleanup. Default is false. (#2293, thanks @jodastephen)
  • add SqlStatements#setAttachCallbackStatementsForCleanup. Setting this configuration flag will attach all created statements within one of the Jdbi callback methods to the handle. This allows code that uses the Jdbi callback methods to delegate resource management fully to Jdbi. This flag is set by default. (#2293, thanks @jodastephen)
  • fix problem when using the jdbi bom in spring projects (#2295, thanks @jedvardsson)
  • add JdbiExecutor for async Jdbi operations (#2280, thanks @leblonk)
  • rewrite the core extension framework, move functionality from sqlobject to core
  • rewrite sqlobject and the generator to use the new extension framework, deprecate functionality that moved to the core