I am lil bit confused in hibernate,
Here i am having one parent object and this parent object (Suppose A is a parent and B is child object) has many to one unidirectional relation with child object B.
Now, I have a object A along with Object B . What i have done is , i saved all the child objects in database, so now every child objects are saved in db and have id .
Now i want to save parent object A for its related child object. How can i do that ? Though it might be very simple for u guys, i am new to hibernate. so need lil help.
Thanx in advance. :)