HI Henk
I scanned the issue 426, but I don't know for sure if it's the same
problem.... But I can say that the nature of my problem is as follow...
If you have some object someA and someA has an collection of objects someB1,
someB2, someB3.
Now, consider someB3: someB3 has a property (propA) referring back to object
someA.
When someA is marshalled you would expect some XML in this form:
<someA id="100">
<someB id="1"/>
<someB id="2"/>
<someB id="3">
<propA>100</propA> <!-- Reference to someA-->
</someB>
</someA>
But in reality you will get the following XML:
<someA id="100">
<someB id="1"/>
<someB id="2"/>
<!-- someB with id 3 is MISSING!! -->
</someA>
The strangest thing!
I tried different alternatives in my mapping.xml.
I specified propB collection items as reference(=true) to someA and I also
specified used reference(=false).
But in BOTH cases, I got missing element someB with id=3. (???)
Strange uuh??
Kind Regards
Urso
-----Oorspronkelijk bericht-----
Van: Henk van Voorthuijsen [mailto:[EMAIL PROTECTED]
Verzonden: zondag 28 januari 2007 23:13
Aan: [email protected]
Onderwerp: Re: [castor-user] Marshalling Non-Hierarchical object models
> Check my quote in comments in the XML file: “<!-- ? WHERE IS my
> pupil 1 (student 1) John Doe ???????? -->”…….
>
> What’s the problem here? I should have had an entry of John Doe at
> that point.
>
>
Urso, Werner,
This sounds suspiciously like the issue I added to CASTOR-426 -
perhaps this should be broken out into its own issue?
I see it's still unassigned....
Henk van Voorthuijsen
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email
--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.432 / Virus Database: 268.17.14/657 - Release Date: 29-1-2007
9:04
--
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.432 / Virus Database: 268.17.14/657 - Release Date: 29-1-2007
9:04
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email