Hi Gang, There's no such trick right now, apart from patching the code generator, or post-processing the generated code. In your case, this might be doable using a simple regex replacement.
What's the use-case of doing this? Typically, discussing the underlying use-case proves to be more fruitful than discussing the attempted workaround... Thanks, Lukas On Tue, Oct 5, 2021 at 6:23 PM 'Gang Luo' via jOOQ User Group < [email protected]> wrote: > Hi folks, > > The default java generator will generate class file for a table with > fields looks like the following > > *public final TableField<RECORD, Type> FOO = createField(...)* > > I would like to have a my customized implementation for the field FOO like > > *public final Field<RECORD, Type> FOO = createCustomizedField(...)* > > The current method for table in the default java generator has 900 lines > and it doesn't seem good idea to override just to change one line. Is there > any trick that will allow me to generate the table with customized field? > > Thanks > -Gang > > -- > 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]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jooq-user/4d4c0312-f8de-4776-babd-ac4351b0082dn%40googlegroups.com > <https://groups.google.com/d/msgid/jooq-user/4d4c0312-f8de-4776-babd-ac4351b0082dn%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- 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]. To view this discussion on the web visit https://groups.google.com/d/msgid/jooq-user/CAB4ELO5_89_-GA4z8p38QDBK%2B06ymMJ8uf6g6q%2BYHwsW10_Uhw%40mail.gmail.com.
