Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Hibernate load method doing an update after loading data

Travis Prescott
Posts: 24
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm still stuck on this. I have a new project using Hibernate & Spring. I am able to insert a record with no problem. When I try to load a record, it will load it and then it seems to mark the resulting list as dirty & try to do an update on it. It seems to be doing this on one of my mappings but not the other, nearly identical one. I had a many-to-many relationship at one point on it but have removed it in hopes of just getting the data from the main table. Below is the mapping & the table definition. Does anyone have an idea of something I could look into? I'm about out of ideas...

examples of loads failing:



What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!