I'm getting the error No default constructor for entity when using kotlin.
After adding the kotlin-jpa plugin, the error is gone. That makes sense.
Without the plugin there will be no empty constructors in your models.
So when you choose JPA and Kotlin as language maybe add the plugin to the build.gradle?