vavr
is a functional programming library for the JVM.
It is greatly inspired by scala
and brings persistent,
immutable data structures to the Java world. JDBI
can
collect results from queries to these types and use them.
Furthermore vavr
value types can be used as arguments
and query results can be projected to vavr
tuples.