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)
|