JDBI v3.9.0 Release Notes
Release Date: 2019-07-24 // almost 5 years ago-
- ๐ New Features
ResultIterable<T>.map(Function<T, U>)
returns aResultIterable<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
- Immutables: handle
- ๐ 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
- ๐ New Features