JDBI v3.10.0 Release Notes

Release Date: 2019-09-04 // over 4 years ago
    • ๐Ÿ†• New Features
      • Handle.getJdbi gets owning Jdbi instance
      • SqlStatement (like Query) has new bindArray helper methods
      • sqlobject's EmptyHandling enum backported to core for invocations of SqlStatement.bindList
      • OutParameters lets you getRowSet to view cursor-typed out parameters
      • Call.invoke lets you process OutParameters before closing the statement with a Consumer or Function
      • @SqlCall lets you process OutParameters before closing the statement by passing a Consumer or Function
      • installPlugin skips duplicate JdbiPlugins (according to Object.equals)
      • KotlinSqlObjectPlugin will install forgotten SqlObjectPlugin for you
      • ClasspathSqlLocator allows disabling comment stripping and deprecate static API
      • KotlinMapper respects @PropagateNull
      • Freemarker allows customizing Configuration
      • FreemarkerSqlLocator should now be created via FreemarkerConfig so it shares config
    • ๐Ÿ†• New Beta Features
      • added register methods for qualified factories on Configurable, ColumnMappers, and ArgumentFactories
    • ๐Ÿ› Bug Fixes
      • onDemand invocations @CreateSqlObject create new on-demand SqlObjects
      • onDemand SqlObject.withHandle / Transactional.inTransaction are now safe to call even outside an on-demand context
      • SqlParsers no longer retain all statements and instead use a caffeine cache
    • Compatibility
      • added a module that runs the Spring 4 integration tests against Spring 5 to monitor forward compatibility
      • OutParameters no longer has a public constructor (this type should never really have been constructed anyway)