• 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 ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

Hibernate load method doing an update after loading data

 
Greenhorn
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:


table:


mapping:


stacktrace:
 
    Bookmark Topic Watch Topic
  • New Topic