-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: Data not getting saved
PostPosted: Fri Jul 27, 2007 4:28 pm 
Newbie

Joined: Tue Jul 10, 2007 9:49 am
Posts: 4
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


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jul 27, 2007 5:08 pm 
Beginner
Beginner

Joined: Thu Apr 19, 2007 9:52 am
Posts: 27
Can you post the mapping files for these

_________________
Regards,
Mahen
http://www.discoverabout.net
http://funnfacts.discoverabout.net


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.