Title: RE: [castor-dev] can Castor do it???

OK. Now i have teh marshall/unmarshall process without IDs.

Is there any step to pass throught the castor SG to Castor JDO. I have the mapping.xml, but i think the code generated is not prepared to support reference to other objects.

Thank you very much.

-----Mensaje original-----
De: Rhett Sutphin [mailto:[EMAIL PROTECTED]]
Enviado el: lunes, 11 de noviembre de 2002 17:07
Para: [EMAIL PROTECTED]
Asunto: Re: [castor-dev] can Castor do it???


On Monday, November 11, 2002, at 09:35  AM, Enrique Rodr�guez wrote:
> Thank you very much, Arnaul and Rhett. I don't take care that i don't
> need mapping.xml if i'm using castor source generator.
>
> BTW, as Rhett said, my schema should add IDs to the generated xml. I
> think i need this IDs when i recover the objects form database, using
> Castor JDO, isn't it???

You will need IDs when you start using JDO.  My recommendation would be
to get XML marshaling and unmarshaling working before fiddling with JDO
-- JDO has another set of idiosyncrasies and it would probably be good
to start from a known-good position.

And just to be clear:  you don't need a mapping.xml file to do
marshaling if you use SourceGenerator.  However, you do need a mapping
file for JDO, whether or not you use SourceGenerator.

Rhett

=====================================================
| Rhett Sutphin
| Research Assistant (Software)
| Coordinated Laboratory for Computational Genomics
|   and the Center for Macular Degeneration
| University of Iowa - Iowa City, IA 52242 - USA
| 4111 MEBRF - email: [EMAIL PROTECTED]
=====================================================

-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
        unsubscribe castor-dev


Reply via email to