ernst_pluess wrote:
Mmmm ... I guess you didn't unerstand how to work with persistent objects in hibernate.
Read chapter 4 of Hibernate in Action. After that have a look at chapter 16 of the reference manual to understand parent/child relations.
HTH
Ernst
I would say that I understood those secions entirely but that it failed in a way that is not described in HIA or the reference manual. In fact you do not have to store the parent first and that much is documented. My question was slightly more specific. If a child has a parent reference and both are transient to you have to store the parent first? In that case, and only that case, the answer appears to be affirmative but I am still not sure. I thought perhaps there was a way that Hibernate could deal with this circular reference since it's entirely detectable and have still not received a clear answer on whether that's possible. Pretty much down with how hibernate is working otherwise.
Thanks.