Hi,

Maybe this section will help?
http://www.jooq.org/doc/3.1/manual/code-generation/data-type-rewrites

Cheers
Lukas


2013/8/16 Aurélien Manteaux <[email protected]>

> Hello,
>
> With MySQL the boolean type is synonym of the tinyint(1) type.
> As expected, jOOQ map the tinyint type with the java.lang.Byte type since
> a tinyint is stored in one bytes.
>
> However, since MySQL does not have a boolean type, I want in my project to
> use java.lang.Boolean instead of java.lang.Byte for the MySQL type tinyint.
>
> I know that there is a way to map a column with a Java type (
> http://www.jooq.org/doc/3.0/manual/code-generation/codegen-advanced/),
> but is there a way to map a SQL type to a Java type ?
>
> Cheers,
> Aurélien
>
> --
> 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/groups/opt_out.
>

-- 
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/groups/opt_out.

Reply via email to