Quote:
I am trying to model a parent child relationship with a one-to-many and cascade="all" option.
Quote:
The objects that I am trying pass to session.update are detached ( they do not have any hibernate related collection implementations )
If you are talking about the same objects in both quotes, then they do have a hibernate related collection implementation, namely the one-to-many with cascade="all".
Being detached means they were made known to Hibernate in a previous session that has since then been ended. To attach them again, either release them from memory after the first session and retrieve them again from the database in the second session; or re-attach them in the second session
before using them in your application by issuing a lock() command on them.