Isn't the same generator used under the hood from the maven plugin? I want Kotlin code since my app is kotlin (except for generated jooq and openapi code). If it is possible to get all code generated as Kotlin I'd prefer that. Thanks.
ons. 21. okt. 2020 kl. 14:49 skrev Lukas Eder <[email protected]>: > Hi David, > > This flag currently requires using the KotlinGenerator. I guess it would > make sense to enable it also in the JavaGenerator? Was that your > expectation? Is there a reason why you'd like Kotlin data classes, but all > the other generated classes as ordinary Java classes? > > Thanks, > Lukas > > On Wed, Oct 21, 2020 at 2:28 PM David Karlsen <[email protected]> > wrote: > >> I have a configuration section like: >> >> <generate> >> <javaTimeTypes>true</javaTimeTypes> >> <jpaAnnotations>true</jpaAnnotations> >> <jpaVersion>2.2</jpaVersion> >> <pojosAsKotlinDataClasses>true</pojosAsKotlinDataClasses> >> <pojosEqualsAndHashCode>true</pojosEqualsAndHashCode> >> <pojos>true</pojos> >> <daos>true</daos> >> <validationAnnotations>false</validationAnnotations> >> <springAnnotations>true</springAnnotations> >> </generate> >> >> but still the classes generated are .java and not Kotlin. >> >> -- >> -- >> David J. M. Karlsen - http://www.linkedin.com/in/davidkarlsen >> >> -- >> 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/CAGO7Ob3zK2Nhqo0WCMMfLyMoqAEGzy2E7Cw6G-6XizkObXfYdQ%40mail.gmail.com >> <https://groups.google.com/d/msgid/jooq-user/CAGO7Ob3zK2Nhqo0WCMMfLyMoqAEGzy2E7Cw6G-6XizkObXfYdQ%40mail.gmail.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/CAB4ELO4Y3hhFJ-%3DxP_JWQKse55DXTJcBHk4r6_-yV8tGOEs2%2Bg%40mail.gmail.com > <https://groups.google.com/d/msgid/jooq-user/CAB4ELO4Y3hhFJ-%3DxP_JWQKse55DXTJcBHk4r6_-yV8tGOEs2%2Bg%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > -- -- David J. M. Karlsen - http://www.linkedin.com/in/davidkarlsen -- 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/CAGO7Ob1jpOvyiEU%3DUz%2Bxj1B5XCU%3D7au731BsNDWO9VHXJRbdXQ%40mail.gmail.com.
