Okay, if you want to be using Castor JDO, then you will need a mapping
file. There's a flag on the source generator that allows you

a) to turn off generation of the descriptor classes (-noDesc)
b) to turn on generation of a mapping file instead. (-gen-mapping)

Have a look at http://castor.org/srcgen-cline.html for more details. If
you happen to be using e.g. the Maven plugin or the Ant tasks, those
parameters are exposed there as well.

Regards
Werner

Madhu CM wrote:
> How can i use descriptor classes for generating mapping.xml thru which we map
> to the DB ??
> can you please me the tool for generating mapping.xml from xml schema ?? 
> 
> Thanks,
> 
> 
> Madhu CM wrote:
>> Hi,
>> Is there any tool for generating mapping.xml from xml schema ?? or do we
>> have any option in castor ?
>>
>> THanks,
>>
> 


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to