![]() |
when save parent, the children do not get saved. URGENT PLEASE.
Hi,
I have a question and it could be a very simple/silly question for you. Please reply back to my post immediately as soon as possible. Please treat this as very urgent. Thanks a lot for the help in advance. When I save a parent, the children do not get saved, unless i save them independently. Is there anyway that i can bypass saving children independently? I just wanted to make one call to save parent which should take care of saving children as well. please guide me. This is a unidirectional one-to-many mapping. Code:
<hibernate-mapping> Code:
Session session1 = sf.openSession(); |
| All times are GMT +5.5. The time now is 12:06. |