Hibernate with Kotlin - Some suggestions <https:...
# feed
s
👍 5
c
Stumbled upon this article and I have same question as one of the unanswered comments, how do you propose to update the entities with this design? All properties except
id
are `val`s. Whereas in real world
id
would've been the one property that should not change 🙂
s
The ID will not be set when the object is being created, it will be set by hibernate when persisted