... Oh, I'm sorry, actually, the original discussion fits your request, but then the discussion was hi-jacked. So here's my answer:
The GeneratorStrategy won't allow you to produce your own Java code. It only specifies what each generated Java object's name should be (e.g. class names, package names, method names, setter names, getter names, attribute names, etc.) If you want to produce your own custom Java code, you have two options: - Override the JavaGenerator and implement your own (parts). - Override the JavaGenerator's custom code section methods: https://www.jooq.org/doc/latest/manual/code-generation/codegen-custom-code Let me know if you need any help with those. Cheers, Lukas 2017-05-01 15:47 GMT+02:00 Lukas Eder <[email protected]>: > Hi Joseph, > > I'll start a new discussion thread for this, as I don't think it's related > to the original discussion. > > Stay tuned > > > 2017-05-01 11:28 GMT+02:00 <[email protected]>: > >> Hi >> >> I'm obviously late to the party, yet I've an issue with the generation >> strategy; I've my own I would like to hook in through Java code (there >> https://github.com/cluelessjoe/jooq-flyway-typesafe- >> migration/blob/master/migrator/src/test/java/LatestModelGenerator.java), >> but I don't find a way. >> >> How should I proceed? >> >> Thanks in advance >> >> best >> joseph >> >> On Monday, April 8, 2013 at 1:13:18 PM UTC+2, Lukas Eder wrote: >>> >>> 2013/4/8 Durchholz, Joachim <[email protected]>: >>> >> However. Extracting these things takes time. >>> >> And then, concrete use-cases matter, too. >>> > >>> > I couldn't agree less! >>> > >>> >> Lots of ideas, so, yes, keep on coming with suggestions. >>> > >>> > Okay, will do. >>> > >>> >> And contributions, of course! :-) >>> > >>> > Heh. Jooq is already near the top end of the list of projects I'd like >>> to contribute to. >>> > Don't hold your breath tough, that list is crammed. >>> >>> Ideas, feedback and discussion are contribution, too. That's great! >>> So, looking forward to the eventual code contribution! :-) >>> >>> Cheers >>> Lukas >>> >> -- >> 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.
