Fork me on GitHub

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: