Hi Denis,
Thank you for your enquiry and for your additional feedback. jOOQ's internals are ready for JSR-310 types, i.e. they can correctly bind java.time.* values to JDBC statements, and fetch them from ResultSets (give or take the usual bugs for new functionality).
- We don't want to make those the default (yet)
- Much of jOOQ's API in org.jooq.impl.DSL expects some Field<? extends java.util.Date> types, e.g. timestampDiff. Because we cannot overload these functions based on their generic argument types due to generic type erasure, we need to re-think our source code generation strategy in this area.
We're in a bit of a catch 22 situation here. Without JSR-310, we cannot support TIMESTAMP WITH TIME ZONE types for those databases that have the type. With JSR-310, we'll break existing jOOQ API.
I'm hoping that we'll find a solution for jOOQ 3.8. Until then, you can always use converters, as you did.
I hope this explanation helps. Of course, we're very open to suggestions, as we might have missed something...
Best Regards,
Lukas