We are looking for date time support for different timezones. It seems Hibernate supports Joda time, any idea does JOOQ supports the same?
Asked
Active
Viewed 1,414 times
4
-
1You have to write `customType` and `forcedTypes` if you want JodaTime types code generated. This means you'll probably want to standardize on a column naming convention, which is a benefit in the end. To avoid timezone issues, in my case I wrote only `Instant`, `LocalDate`, and `LocalDateTime` converters. – Ben Manes Aug 26 '13 at 10:23
-
@BenManes: Would be interesting to read a blog post / case study about that experience! – Lukas Eder Aug 26 '13 at 12:56
1 Answers
2
jOOQ by itself does not support Joda-Time, nor any other third-party data type. But you can easily configure the jOOQ code generator to rewrite data types through custom converters. This is documented here:

Lukas Eder
- 211,314
- 129
- 689
- 1,509