Joined: Sun Oct 26, 2003 4:46 pm Posts: 16 Location: Tallinn, Estonia
|
Hello,
I just accidentally called Session.save() on an object that was loaded by that same session. And it worked perfectly - it updated the object with the values I had set.
Until now I had the impression that you should call save() on new objects that should be inserted and update on an existing object. So have I misunderstood the purpose of save() or this is just a lucky case where this worked but I shouldn't rely on it?
_________________ best regards,
erik
|
|