3 ms·
I'm really not sure if using data classes with JPA is smart idea. Solely because of generated hashCode/equals and JPA lazy loading. For instance ebean recommend
by vips7L 6y ago
I'm really not sure if using data classes with JPA is smart idea. Solely because of generated hashCode/equals and JPA lazy loading. For instance ebean recommends against it [0].
https://ebean.io/docs/best-practice/#kotlin-data-class https://ebean.io/docs/best-practice/#kotlin-data-class