Werner,
Thanks for the reply.

I think I should write a mapping XML file per each XSD, am I right? Is there
any shortcut for that? For example is it possible that Castor treats XML
schemas as Database mapping file (i.e., there is now more need for separate
mapping files)? 

Thanks again.


Werner Guttmann-3 wrote:
> 
> Hi,
> 
> Castor does provide you with solutions for both your problems. Castor XML
> and its XML code generator will allow you to generate Java classes from
> your XML schemas, and use them in your application as domain objects.
> 
> Once you have got those, you can use Castor JDO to interact with the
> database to load/update/write those domain objects to and from the
> database.
> 
> Let me know if you need more help.
> 
> Werner
> 
>> -----Ursprüngliche Nachricht-----
>> Von: Mohsen Saboorian [mailto:[EMAIL PROTECTED]
>> Gesendet: Mittwoch, 28. März 2007 08:13
>> An: [email protected]
>> Betreff: [castor-user] .NET DataSet Schema
>> 
>> 
>> Hi,
>> I have a number of .NET XSD schemas generated as DataSets together with
>> some
>> proxy objects to handle tables. Is there an easy way to:
>> 1. generate JavaBeans based on those schemas (I know that Sun's xjc does
>> this)
>> 2. fill (from database) generated JavaBeans from some tables or views
>> with
>> help of those schemas
>> 
>> The latter is much more important to me.
>> 
>> I'm actually new to Castor, so please excuse me if the question is
>> somehow
>> odd :)
>> 
>> Thanks in advance.
>> --
>> View this message in context: http://www.nabble.com/.NET-DataSet-Schema-
>> tf3477491.html#a9706693
>> Sent from the Castor - User mailing list archive at Nabble.com.
>> 
>> 
>> ---------------------------------------------------------------------
>> To unsubscribe from this list please visit:
>> 
>>     http://xircles.codehaus.org/manage_email
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe from this list please visit:
> 
>     http://xircles.codehaus.org/manage_email
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/.NET-DataSet-Schema-tf3477491.html#a9710928
Sent from the Castor - User mailing list archive at Nabble.com.


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

    http://xircles.codehaus.org/manage_email

Reply via email to