Am Dienstag, 19. Juni 2012 15:48:38 UTC+2 schrieb Lukas Eder: This one was left unanswered. I reckon that the other mail where you > suggest a patch for the code generator takes care of this? >
Yes, that's a feature I implemented using the new code generator. The new code allows me to write extra code when the FK setters are generated. > 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? > Yes, it's a FK relation. Since you generate code to the FK, I was wondering why you didn't generate a setter that accepted an FK record instance. Regards, A. Digulla
