Hi Etienne,

1) Historically, the most appropriate type corresponding to SQL DATE is
java.sql.Date in JDBC
2) jOOQ is a very historic API (i.e. backwards compatible)
3) The commercial distributions still support Java 6, so we still have to
support java.sql.Date
4) You can turn on <javaTimeTypes/> in the code generator

Hope this helps
Lukas

2018-03-21 10:20 GMT+01:00 <[email protected]>:

> Hi
>
> I'm curious why using the DATE column type in Postgres is not mapped to
> LocalDate in the Java code by jOOQ? I'm sure Lukas has a good reason, I'm
> just trying to understand it, before I write a custom converter from
> postgres' DATE to Java's LocalDate.
>
> Regards, Etienne
>
> --
> You received this message because you are subscribed to the Google Groups
> "jOOQ User Group" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups "jOOQ 
User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to