Fork me on GitHub
#announcements
<
2018-10-14
>
olieidel07:10:55

Published h2-jdbc which extends JDBC protocols for the H2 Database to return Java 8 objects. Similar to clj-time.jdbc, only specific for H2 and java.time. This is the result of a discussion in #clojure in which I stumbled over the whole TIMESTAMP WITH TIME ZONE data type in H2 returning an org.h2.api.TimestampWithTimeZone object. I went through all other H2 data types and coerced them to java.time objects 🙂 @seancorfield suggested I’d publish this as a library (so here it is!) and helped out with a few questions (thanks!) You probably already have a half-baked implementation of this in your codebase if you’re using H2 and java.time objects in Java 8. Check it out: https://github.com/olieidel/h2-jdbc

5