That's a good idea, something where you could select the xsd file and the
database table, and match the xsd elements with the database fields, press a
button, and hey presto, a mapping file.

Maybe someone could write one!

-----Original Message-----
From: Maciej Zywno [mailto:[EMAIL PROTECTED] 
Sent: 28 July 2005 10:50
To: [email protected]
Subject: [hibernate] generate hibernate mappings automatically?

Hi all,

Currently I use XmlBeans to parse xml files and Spring to persist
objects created by XmlBeans. However I wonder if there is any
automatic way to generate hibernate mapping files for XmlBeans
generated classes. It would be nice to have all (classes and hibernate
mappings based on xml schemas) generated automatically based on xml
schema (or indirectly i.e. having hibernate mappings being generated
based on XmlBeans generated classes)? Anyone used something like that?

Thanks,

Maciek Zywno

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


This is an email from the CPP Group Plc, Holgate Park, York, YO26 4GA; 
telephone 01904 544500.
This message may contain information that is confidential. If you are not the 
intended recipient,
you may not peruse, use, disseminate, distribute or copy this message. If you 
have received this
message in error, please notify the sender immediately by email, facsimile or 
telephone and either
return or destroy the original message.
The CPP Group Plc accepts no responsibility for any changes made to this 
message after it has been
sent by the original author.  This email has been scanned for all viruses by 
the MessageLabs Email Security System.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to