Hi
I'm sorry, I'm not using the same thread. My computer broke and I have to use a
wired webmail support on a friends computer.
I posted this question a view days ago
http://www.mail-archive.com/[EMAIL PROTECTED]/msg17461.html
I solved the problem by writing a second get-method that gives back a ArrayList.
But still I'm doing a mistake in my mapping file because the individuel
elements of the ArrayList are not saved.
This is a part of the mapping file:
<field name="F_Entities" collection="arraylist" container="false" get-
method="getEntitiesList">
<bind-xml name="EntitiesList" node="element">
<class name="org.exolab.castor.mapping.MapItem">
<field name="value" type="java.lang.Object">
<bind-xml name="id" type="java.lang.Object"
node="element"/>
</field>
</class>
</bind-xml>
</field>
And this is a part of the xml-file that is marshaled:
- <EntitiesListe>
<demos-entity />
</EntitiesListe>
'demos-entity' exist because the class of EntitiesListe has a childclass.
What am I missing???
Cheers,
Katja
-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-dev