This one was left unanswered. I reckon that the other mail where you
suggest a patch for the code generator takes care of this?

I'm wondering, by what mechanism (heuristics?) do you get from
"LANGUAGE_ID" to "Language"? In what context does this take place?
Regular foreign key relationships, or master data tables?

Cheers
Lukas

2012/6/8 digulla <[email protected]>:
> Hello,
>
> I'm wondering why jOOQ generates this code:
>
> public void setLanguageId(java.lang.Long value) {
> setValue(....tables.User.USER.LANGUAGE_ID, value);
> }
>
> instead of
>
> public void setLanguage(Language value) {
> setValue(....tables.User.USER.LANGUAGE_ID, value == null ? null :
> value.getId());
> }
>
> What's the design reasoning behind this?
>
> Regards,
>
> A. Digulla

Reply via email to