Beginner |
|
Joined: Sun May 16, 2004 3:53 pm Posts: 47 Location: Belo Horizonte, Brazil
|
Michael,
just doing session.update() doesn't work for me.
It simply doesn't understand that is the same object (and it actually is, i made myself sure of it specifying the correct id).
It's clear when i use saveORupdate method, hibernate creates another object (as my table is using auto_increment, it simply ignores the id of my object and stores a new one in db) and doesn't update the other one.
What would be a explanation for this?
|
|