hi Jarrod,

that's easy, just add the "tableNamePrefix" property to your hibernate (or
default) namespace

info about namespace properties can be found here:
http://team.andromda.org/docs/maven-andromda-plugin/properties.html#Defining_Namespace_Properties

an example of setting those properties in Ant:
http://team.andromda.org/docs/anttask.html

all the default properties can be found here:
http://team.andromda.org/docs/andromda-metafacades-uml/namespace.html

(you'll see that the "tableNamePrefix" property is there too)


good luck

-- Wouter

> Hi,
>
> How can I add table prefix to the generated mapping hbm.xml for every
> class. In this case, i want to add in sys_ prefix to my table.
>
> <class name="com.test.system.model.Country" table="SYS_COUNTRY">
>
> In my POJO class, i want to have Country class name only.
>
>
> Thanks
>
> Regards,
>
> Jiahan
>
>
> ---------------------------------
> Do you Yahoo!?
>  Meet the all-new My Yahoo! � Try it today!




-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Andromda-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/andromda-user

Reply via email to