JDBI v3.9.0 Release Notes

Release Date: 2019-07-24 // almost 5 years ago
    • ๐Ÿ†• New Features
      • ResultIterable<T>.map(Function<T, U>) returns a ResultIterable<U> with elements transformed using the given mapper function.
      • ColumnMappers.setNullPrimitivesToDefaults(boolean) allows you to decide if database nulls should become Java primitive defaults or a mapping exception.
      • @PropagateNull annotation allows a missing property to indicate a missing compound value
      • @DatabaseValue annotation lets you customize enum values as stored in the DB
    • ๐Ÿ› Bug Fixes
      • Immutables integration doesn't respect @Value.Default for primitives that are nulled in the db
    • ๐Ÿ‘Œ Improvements
      • Immutables: handle is prefix more intelligently
      • StatementExceptions configuration class lets you configure generated exception message length
    • ๐Ÿ”„ Changes
      • Align PreparedBatch with no bindings behavior to normal empty Batch (return no results)
    • Beta API Changes
      • add GenericTypes.box
      • QualifiedType: rename mapType -> flatMapType, add a proper mapType