hello,
sorry for asking a basic question, but I have not found any answer for it anywhere...
I have a detached object on which I have made alterations after the session was closed. The object contains a collection of other objects, and I have added one object to that collection.
When I create a new session, do a saveOrUpdate on the detached object and commits the transaction, the object (with changes to it's collection) is saved to the database. How come? I thought it was only possible to save persistent objects!?
Any help or links to relevant documentation would be highly appreciated.
best regards,
kenny
|