Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

1
  • Hi @shileshsaykar. That is the most significant and useful answer to the issue. I followed the tips and indeed i noticed that in the resultset lots of records had equals Id value, and they could be distinguished for other different fields. So i created a proper composite key which helped JPA to compare and find the different records, and this solved my problem. In my opinion, your answer is the one to be marked as accepted. Thank you very much. Commented Nov 21, 2024 at 21:14