Hi Ronald,

there's no tool that helps you to create the desired results in one go. But you could

a) create Java domain classes (without descriptors) from your XML schema using the XML code generator
b) use the mapping tool to create a mapping file from the Java classes
c) enrich this mapping file with information specific to JDO
d) use the DDL generator to create DDL files from the mapping(s).

Regards
Werner

PS A few months ago I was pondering the idea of allowing folks to use <xsd:appInfo> elements to define persistence related information within an XML schema, so that JDO descriptors could be generated directly. Anybody wishing to join me on this idea, feel free .. ;-).

Ronald R. DiFrango wrote:
All,

I would like to take my XML Schema and convert it into JDO mappings. Also, I would like turn this into DDL.

Is there a tool out there to do this?

--
Ron DiFrango
Blog (www.captech-soa.blogspot.com <http://www.captech-soa.blogspot.com>)


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

   http://xircles.codehaus.org/manage_email


Reply via email to