JDBI 3.38.0-rc1
Pre-release
Pre-release
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 isfalse
. (#2293, thanks @jodastephen) - add
SqlStatements#setAttachCallbackStatementsForCleanup
. Setting this configuration flag will attach all created statements within one of theJdbi
callback methods to the handle. This allows code that uses theJdbi
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