• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Liutauras Vilda
  • Bear Bibeault
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Knute Snortum
  • Henry Wong
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Joe Ess
  • salvin francis

Hibernate load method doing an update after loading data

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:



The government thinks you are too stupid to make your own lightbulb choices. But this tiny ad thinks you are smart:
Java file APIs (DOC, XLS, PDF, and many more)
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!