Person entity default constructor
Closed this issue · 4 comments
syeds-git commented
I see that in your example for JPA the person object is created using an ID of 0. I thought that with the jpa plugin we can create person using no-arg constructor Person() and then set the other properties except for ID. Please clarify if providing default ID's at object creation time is the only way to work with Kotlin & JPA?
kwoyke commented
Hi @syeds-git,
Can you please clarify which article you're referring to?
syeds-git commented
kwoyke commented
We fixed the code and updated the article.