I have a mapping with one parent and two child associated with it.When its run its throw the exception parent key not found.When i put sql=on in hibernate its
first inserting child object value.But i want first it should insert parent value after that child.
Please help me where i am wrong.
My hbm file is.
and the sql which run on the prompt:
My, my, aren't you a big fella. Here, have a tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user