Unable to generate kotlin code

30 views
Skip to first unread message

Christian Meyer

unread,
Dec 25, 2020, 4:26:12 AM12/25/20
to jOOQ User Group

Hi Lukas!

Since the enum `org.jooq.codegen.AbstractGenerator.Language` is package private there seems to be no way to write a code generator that generates kotlin code.

Currently, any method implemented in `DefaultGeneratorStrategy` and `AbstractGeneratorStrategy` must be reimplemented due to that. This is very unfortunate...

Can you either make `Language` public in the next release or show a way how to achieve it without using `Language`?

Cheers,
Christian

Christian Meyer

unread,
Dec 25, 2020, 6:00:44 AM12/25/20
to jOOQ User Group
...never mind: I just inherit from `KotlinGenerator`.

Cheers,
Christian
Reply all
Reply to author
Forward
0 new messages