ashwanik wrote:
I am using the workaround , I am first saving the parent ie Address. Its now working. Should Hibernate handle this automatically is the question. The stack trace will be now difficult to reproduce, I have shown the same message that I get from Hibernate.
TransientObject Exception [com. package of the class] . Save the Address first.
Regds
Ashwani
This is a rather straightforward situation and Hibernate handles it but nobody will be able to tell you what you are doing wrong if you aren't willing to provide the necessary information.