FAQ   Search   Memberlist   Usergroups   Statistics   Register 
 Profile   Log in to check your private messages   Log in 

Generating SQL from an UML-diagram (java-source-code)

 
       forum-omondo.com Forum Index -> Database Support
View previous topic :: View next topic  
Author Message
SPohl



Joined: 20 Apr 2004
Posts: 1

Posted: Tue Apr 20, 2004 1:14 pm    Post subject: Generating SQL from an UML-diagram (java-source-code)

Hi,
is it possible to generate the SQL-create-table-statements from an UML-diagram or java-source-code? Using the create-schema-wizard only generates SQL-create-statements from an existing database with existing tables. I need it the otherway around, to model my class-diagram and than generate the needed tables. Is it possible and how to handle it?

Thanks in advance
SP
Back to top
 
xavier
Site Admin


Joined: 14 Mar 2003
Posts: 80

Posted: Wed Apr 21, 2004 8:16 am    Post subject:

Hi,

You want to design your database tables from the object design.

Top down approach I guess.

There is no explicit tool plugged in our plugin, however through the XDoclet technology supported by our J2EE plugin I think you can do some work.

At the moment, you are right, our tool is more in a Bottom up approach.

However it depends the O/R Mapping technology you've choosen for your project.

XDoclet is known to support several mapping technologies (JDO, Hibernate, ...)

We can imagine a Class Diagram with stereotypes.

With the use of Java Tags we can do some XDoclet tranformation to get some mapping files.

This will change in a near future.

Regards.
Back to top
Display posts from previous:   
       forum-omondo.com Forum Index -> Database Support All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum


Powered by phpBB 2.0.11 © 2001, 2002 phpBB Group