https://kotlinlang.org logo
Title
c

cmgurba

06/03/2020, 4:29 PM
shot in the dark: anyone here use jooq? ever ran into an issue where regenerating jooq files all of a sudden changes your schema files to inherit from
TableRecordImpl
instead of
UpdatableRecordImpl
? thinking it has to do with postgres12 since i recently upgraded...
n

napperley

06/03/2020, 8:35 PM
I have used JOOQ but have never used the code generation facility since it only supports Java. Presumably there are plans for Kotlin to be supported but there has been no activity so far.
s

Saša Šijak

06/04/2020, 12:40 AM
@napperley You can use generated java files from kotlin with no issues
c

cmgurba

06/04/2020, 1:05 AM
yes, we do this and so far no problems. i'm still leaning towards it being a PG12 + jooq compatibility issue instead of anything to do with our code around it being in kotlin
m

Mario Ruiz

06/04/2020, 4:53 AM
Check how you're importing your classes, looks like you did a catch-all and the last few versions of jOOQ moved the packages a bit
m

mp

06/04/2020, 3:36 PM
The db used for code gen shouldn't affect class hierarchy AFAIK.
the jooq user mailing list is quite responsive; could ask there