[
Lists Home |
Date Index |
Thread Index
]
For a list of products (including Castor) that can generate code from an
XML schema, see:
http://www.rpbourret.com/xml/XMLDataBinding.htm
I'm not sure how many of these can generate CREATE TABLE statements. One
thing to worry about with any product that does this is that the
structure in your XML document might be best for XML, but not the best
structure for the database. That is, the generated database structure
might be less than optimal.
-- Ron
Nicolas LEHUEN wrote:
>
> Hi Raphaele,
>
> What you want to do is a XML-based object-relational mapper. I suggest that
> you have a look at the Castor project :
>
> http://castor.exolab.org/
>
> Cordialement :),
> Nicolas Lehuen
>
> >-----Message d'origine-----
> >De : Raphaele Giordan [mailto:rgiordan@sopra.com]
> >Envoye : jeudi 24 janvier 2002 09:35
> >A : Xml-Dev (Adresse de messagerie)
> >Objet : [xml-dev] generating java/SQL script files from XML document
> >
> >
> >hi,
> >i have an xml document describing an object model ( with entities like
> >employee, salary and business rules...). i want to convert this xml
> >document into two kinds of files ( with a java programm ):
> >1/the java code ( .java) implementing the model
> >2/SQL script to generate the relational model related to my
> >object model.
> >has anyone any experience on that ? what architecture would
> >you advice ?
> >thx
> >raphaele
|