Kotlin and Spring: Working with JPA and data classes

This post has originally been published on the codecentric blog. I’ve been looking at Kotlin for a while now and since Spring will support Kotlin as a first class language from version 5 onward I wanted to see how they currently work together. Being a Java programmer you’re probably familiar with the Java Persistence API: …