How to merge data from different tables into one entity with Kotlin and JPA?
I’m new to the Kotlin world and I’ve been trying to figure out what would be the best way to represent the data fetched from 3 different tables in the database (2 out of 3 at a time), ideally as an entity with flat hierarchy, using JPA (or anything else that makes sense, really).