Hi Christian,

Thanks for your message. Use the JavaGenerator.getJavaType() method. You'll
find some inspiration in the JavaGenerator code.

Hope this helps,
Lukas

2018-01-26 13:31 GMT+01:00 Christian Meyer <[email protected]>:

> Hi Lukas,
>
> is there a way to get the java type of a foreign key?
> In my generator I have the following:
>
> for (ForeignKeyDefinition fkd: table.getForeignKeys() {
>   log.info(fkd.getReferencedKey().getTable())
> }
>
> From the TableDefinition there should be a way to receive the java type.
>
> Thanks,
> Christian
>
> --
> 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