hi all
I have problem saving my objects. My object hierarchy is something like this.
I have class A. this is extended by B and C.
In A, I have a list of Questionnaires.
In Questionnaire, I have list of Answers.
I have a class D which has both B and C.
I have a controller which calls a service SERVICE1. SERVICE1 in turn calls SERVICE2 to process Questionnaires and sets in C. SERVICE1 again calls SERVICE3 to set Questionnaires in B. When I save D by setting B and C from SERVICE3, everything saves except the answers list in Questionnaire in C.
My transaction starts from service layer and another from dao layer. So the trasaction which starts in the service layer gets propagated to the dao layer.
Can anybody suggest me why the answers list is not getting saved in Questionnaire in C
-Thanks
|