Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

122
Views
Jooq kotlin EnumType

Is there a way in kotlin for an enum class to extend Jooq's EnumType ?

I get a compile error since EnumType has an abstract getName method and so does Kotlin enum class.

Error:(96, 5) Kotlin: Inherited platform declarations clash: The following declarations have the same JVM signature (getName()Ljava/lang/String;):
    fun <get-name>(): String defined in com.xyz.MyEnum.Val1
    fun getName(): String defined in com.xyz.MyEnum.Val1

If I use a regular Kotlin class instead of enum class then Jooq fails with the error:

Error while looking up Scala enum
ClassNotFoundException ...

Can Jooq + Kotlin + Postgresql Enums play nicely?

over 4 years ago · Santiago Trujillo
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!