[ http://jira.andromda.org/browse/UMLMETA-93?page=all ]
Olivier THIERRY updated UMLMETA-93:
-----------------------------------
Attachment: patch-20081024.txt
andromda-profile-persistence.xml.zip
andromda-profile-persistence.xml.zip
> Table name prefix for all entities within a package
> ---------------------------------------------------
>
> Key: UMLMETA-93
> URL: http://jira.andromda.org/browse/UMLMETA-93
> Project: UML Metafacades
> Type: New Feature
> Environment: AndroMDA 3.4-SNAPSHOT
> Reporter: Olivier THIERRY
> Assignee: Wouter Zoons
> Attachments: andromda-profile-persistence.xml.zip,
> andromda-profile-persistence.xml.zip, patch-20081024.txt
>
> On big projects you may have to split your model in submodels and different
> people could work on these submodels. In this case there is a risk that
> people give the same name to entities in submodels, and so there will be
> duplicated name for tables. One way to prevent this is to give the
> possibility to set a prefix for table names for entities within a package.
> My idea is to create a <<PersistentPackage>> stereotype that could be applied
> to packages in model. This stereotype has a
> @andromda.persistence.table.prefix tagged value. The table name would then be
> composed with the main prefix (the one set with tableNamePrefix namespace
> property in andromda.xml) + the prefix for the package + the SQL name from
> the entity.
> I explain my solution with more details on this topic :
> http://galaxy.andromda.org/forum/viewtopic.php?t=5969
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.andromda.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/