Thanks for these answers.

For point 2. Here are the details (example):

I want to create a new project - Management of products and products
details. No I have to write manually to classes Product.java and
ProdDetail.java implementing Persistence and all the getter and setter.
I find that very boring.
I 'd like to find a tool to *generate* all my Persistent classes
automatically. 
For example I write a file like that :
<application>
    <object name="product">
        <field name="id" type="integer"/>
        <field name="desc" type="char" size="50"/>
    </object>

     <object name="prod_detail">
        <field name="id" type="integer"/>
        <field name="desc" type="char" size="50"/>
    </object>
</application>

For this kind of file I can generate Persistent Object and SQL file to
create the DB.

Any idea ??
Thx
Herv� G.

>> 
> > 
> > 2. Is there a simple way to create the persistant objects 
> (for example
> > from an XML file [mapping.xml]) ?
> 
> Need more information... Persistent objects are created via 
> some type of
> client code and committed to persistence via Castor. 
> 
> > 

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

Reply via email to