[ http://jira.andromda.org/browse/EJB-104?page=all ]
Olivier THIERRY updated EJB-104: -------------------------------- Attachment: GenericEnumUserType.vsl > Improve the way enumerations are managed in EJB3 cartridge > ---------------------------------------------------------- > > Key: EJB-104 > URL: http://jira.andromda.org/browse/EJB-104 > Project: EJB Cartridge > Type: Improvement > Environment: AndroMDA 3.3-SNAPSHOT + EJB3 cartridge + Hibernate > Reporter: Olivier THIERRY > Assignee: Vance Karimi > Priority: Minor > Attachments: EJB3MergeMappings.xml, EntityEmbeddable.vsl, Enumeration.vsl, > GenericEnumUserType.vsl > > The way enum are generated, you have no way to set a value to be stored in > database for enumeration literals. It will either be the name of the literal, > or its order in the enumeration, depending on the value of > @andromda.persistence.enumeration.type tagged value for entitty attributes > having the enumeration as type. I used to use Hibernate cartridge before > using EJB3 one, and you had the ability to set your own value for enumeration > literals. It could be very important if you work on an application with > existing datas ! > More details on the forum : > http://galaxy.andromda.org/forum/viewtopic.php?t=5650 -- 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 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone