-->
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: Set in Set Mapping dont load the last set
PostPosted: Fri Sep 24, 2004 8:34 am 
Newbie

Joined: Wed Sep 15, 2004 9:35 am
Posts: 13
Hi, i have a list in a list in my mapping, and the second list is always empty.
I checked the data in the databases and the list shouldent be empty.
I think this is a trivial question. here my 2 mappings:

Mapping one:
<set name="prNummern">
<key column="BASISMODELL_ID"/>
<one-to-many class="de.Xasr.businessmodel.PrNrBasismodell"/>
</set>




mapping two:
<set name="prNrBasismodellLaender">
<key column="ID_PRNR_BASISMODELL"/>
<one-to-many class="de.X.asr.businessmodel.PrNrBasismodellLand"/>
</set>





If I Load the object of mapping one, i get the list of mapping two. But when I Load the Object of the Class which includet the mapping one class the mapping two is always empty.

it looks like this tree

StartObject
- Mapping one(contains a list)
- Mapping two(contains a list)
- Mapping two(contains a list)
- Mapping one(contains a list)
- Mapping two(contains a list)
- Mapping two (contains a list)


Top
 Profile  
 
 Post subject:
PostPosted: Fri Sep 24, 2004 8:36 am 
Newbie

Joined: Wed Sep 15, 2004 9:35 am
Posts: 13
StartObject
- Mapping one(contains a list)
----------- Mapping two(contains a list)
----------- Mapping two(contains a list)
- Mapping one(contains a list)
----------- Mapping two(contains a list)
----------- Mapping two (contains a list)


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.