Hello Agharta,

Please consider this section from the manual:
http://www.jooq.org/manual/META/AdvancedConfiguration/

It explains how you can customize generated artefacts.

Cheers
Lukas

2012/3/20 Agharta agharta <[email protected]>:
> Hi again,
>
> A suggestion: because tables names and pojos class names are the same
> (TABLE NAME = Customer.java, POJO NAME = Customer.java), a suffix in
> Table classes or Pojo classes is suggested.
>
> As records (CustomerRecord.java), i suggest to modify pojo base class
> name. Example CustomerObject.java or whatever you want.
>
> This is suggested because, if i use pojo classes and table classes in
> same file, one of they is fully referenced in code (not beautiful to
> see) and not easy to see and manage (possibility to confuse names
> during code typing).
>
> I can suggest a parameter into code generator xml
>
> <generate>
> ......
>  <pojos>true</pojos>
>  <pojos-suffix-name>Object</pojos-suffix-name>
> ......
> </generate>
>
>
>
> Thank you again.
>
> Best regards,
>
>            Agharta

Reply via email to