Hi Lukas: By creating UniqueKey and ForeignKey constants inside the respective table class will solve the issue. Like use did in Tables.java constants can be referred from appropriate table specific classes.
Regards, Venkat On Monday, 16 September 2013 13:13:51 UTC-4, Lukas Eder wrote: > > Hi Venkat, > > By "update", do you mean putting Keys.java (and other generated files) > under version control? I'm not sure if there is a good solution to this > problem, short of generating code at build time, avoiding to check it in. > > From previous discussion, I suspect that splitting the 800 tables into > different schemas, or creating different users with distinct grants is not > an option? > > Cheers > Lukas > > > 2013/9/16 Venkat Sadasivam <[email protected] <javascript:>> > >> Hi Lukas: >> >> Keys.java contains details for all tables, if I want to generate classes >> only for a few tables then I cannot update Keys.java. >> >> Regards, >> Venkat >> >> >> On Monday, 16 September 2013 11:16:55 UTC-4, Lukas Eder wrote: >> >>> Hi Venkat, >>> >>> What is the reason why you do not want the Keys.java class generated? >>> The way jOOQ works right now, this class and its contents are required for >>> records to be updatable, as primary key information is stored in there. >>> >>> Regards, >>> Lukas >>> >>> >>> 2013/9/16 Venkat Sadasivam <[email protected]> >>> >>>> Hello: >>>> >>>> In some instance I want to generate java classes for only a few >>>> specific tables. In that case Table classes refers global reference class >>>> Keys.java which we do not want. If we turn off generate relation then we >>>> records are not updateable. Any suggestion to overcome this issue? >>>> >>>> Thanks, >>>> Venkat >>>> >>>> -- >>>> 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 jooq-user+...@**googlegroups.com. >>>> >>>> For more options, visit >>>> https://groups.google.com/**groups/opt_out<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] <javascript:>. >> 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.
