This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Object Relational Mapping and the fly likes create tables from xsd Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "create tables from xsd" Watch "create tables from xsd" New topic
Author

create tables from xsd

Anil Karamchandan
Ranch Hand

Joined: Sep 12, 2009
Posts: 47
HI all,

i have an xsd schema, I was able to create pojos from the given xsd schema, since the xsd was quite big, there are quite a few pojos involved, now my next step is to create a database to store these pojos. I would like to know is there a way by which tables in mysql could be created based on the pojos or xsd schema ?

If yes could you please let me know how ?
Jaikiran Pai
Marshal

Joined: Jul 20, 2005
Posts: 9962
    
163

Anil Karamchandan wrote: now my next step is to create a database to store these pojos. I would like to know is there a way by which tables in mysql could be created based on the pojos or xsd schema ?



I'm not sure why exactly you are doing that? Why do you want to store those Java classes into database? Or are you trying to map the Java classes as database entities (like ORM)? A bit more details on what you are trying to achieve will help understand the question better.


[My Blog] [JavaRanch Journal]
Anil Karamchandan
Ranch Hand

Joined: Sep 12, 2009
Posts: 47
yes, I am trying to map the pojos to the database entities, like ORM, do we have any app that does that .?
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12761
    
    5
This is not really an XML question - you should continue in the Object-relational mapping forum.

Bill
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: create tables from xsd
 
Similar Threads
in-memory xml database
Castor or XStream???
MSSQL Stored Procedures to Java objects
Calling Java Code from C#
CSV to XML conversion