I've been reading the Hibernate reference documentation and I'm having some questions on the following,
The call to update makes a detached object persistent again, you could say it binds it to a new unit of work, so any modifications you made to it while detached can be saved to the database. This includes any modifications (additions/deletions) you made to a collection of that entity object.
When they call update, they are already in a Hibernate session (the session2 object), then how they say that it is in detached state? Please clarify me...
Thanks in advance!
SCJP 1.4, SCWCD 1.4 - Hints for you, Certified Scrum Master
Did a rm -R / to find out that I lost my entire Linux installation!