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.

Required fields*

5
  • 1
    Welcome to Stack Overflow, please read How do I ask a good question? specifically the "Write a title that summarizes the specific problem" section. Commented Jul 15, 2016 at 7:10
  • Add the code that is writing the objects to the database. I also doubt that this are your actual objects I'm missing getter/setter and equals/hashCode implementations. Commented Jul 15, 2016 at 7:24
  • Added to the main post Commented Jul 15, 2016 at 7:45
  • Using saveOrUpdate instead of save doesn't help? Commented Jul 15, 2016 at 8:11
  • Please read the "Update" part .. saveOrUpdate won't help Commented Jul 15, 2016 at 8:47