|
Re: what library can i import <<Table>> or <<Column> [message #781186 is a reply to message #781045] |
Fri, 20 January 2012 09:41 |
Eclipse User |
|
|
|
Hello B Simpson
I don't know some existing profile that would already contain <<Table>>
or <<Field>> stereotype, but you can easily create it with papyrus to
apply it to your model.
However, the reason why there is no Database profile, is that it is not
very necessary
Thanks to Object/relationnal mapping principle, you don't need to create
such a stereotype :
Classes -> Tables
Properties -> Fields
Relation -> Foreign keys
Package -> Schema
you can look for some tutorial of ATL transformations from the Web that
will give you some base material to make your transformation
OR
Directly using Acceleo to create your SQL database creation material.
If you put every class model that shall be mapped to RDB in a Package
called "Databases" all you have to do is to create some conditions in
Acceleo or ATL, just to process elements inside this package...
The thing you have to learn, would be, in that case Acceleo and, of
course OCL...
Good luck
|
|
|
|
Powered by
FUDForum. Page generated in 0.03468 seconds