Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

create tables from xsd

 
Anil Karamchandan
Ranch Hand
Posts: 47
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 10447
227
IntelliJ IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

 
Anil Karamchandan
Ranch Hand
Posts: 47
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 13061
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This is not really an XML question - you should continue in the Object-relational mapping forum.

Bill
 
Don't get me started about those stupid light bulbs.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic