Wow didn't even realize that was there, I'll check it out and apply it if it looks good. Thanks Tomek.

Chad

----- Original Message ----- From: "Tomasz Lempart" <[EMAIL PROTECTED]>
To: "Coleman, Davin" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Thursday, September 02, 2004 5:37 AM
Subject: Re: [Andromda-user] Hibernate using <<Enumeration>>



Hi,

   look at


https://sourceforge.net/tracker/?func=detail&atid=536547&aid=901140&group_id=73047

   there is velocity script for it. I did not use it but you can check it.

   regards

   Tomek


How do I model an enumeration in UML for AndroMDA to generate the enum represented in a table column? If I associate it I get...


/**

     *

     *

     * @hibernate.many-to-one

     *     column="${target.columnName}"

     *     class="com.centrica.eec.common.Channel"

     *     not-null="true"

     */


If I add an attribute of type I get


/**

     *

     *

     * @hibernate.property

     *     column="TMP"

     *     type="$attribute.type.fullyQualifiedHibernateType"

     *

     * @hibernate.column

     *     name="TMP"

     *     sql-type="com.centrica.eec.common.Channel"

     *     not-null="true"

     */


Any ideas will be welcome.


Davin Coleman



------------------------------------------------------------
The information contained in or attached to this email is
intended only for the use of the individual or entity to
which it is addressed. If you are not the intended
recipient, or a person responsible for delivering it to the
intended recipient, you are not authorised to and must not
disclose, copy, distribute, or retain this message or any
part of it. It may contain information which is confidential
and/or covered by legal professional or other privilege (or
other rules or laws with similar effect in jurisdictions
outside England and Wales).
The views expressed in this email are not necessarily the
views of Centrica plc, and the company, its directors,
officers or employees make no representation or accept any
liability for its accuracy or completeness unless expressly
stated to the contrary.




-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
_______________________________________________
Andromda-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/andromda-user




-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
_______________________________________________
Andromda-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/andromda-user

Reply via email to