[ http://jira.andromda.org/browse/EJB-104?page=all ]
Olivier THIERRY updated EJB-104:
--------------------------------
Attachment: enumeration.vsl.fromMemberVariable.diff
> 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,
> EntityEmbeddable.vsl.diff, Enumeration.vsl, Enumeration.vsl.diff,
> GenericEnumUserType.vsl, cartridge.xml.diff,
> enumeration.vsl.fromMemberVariable.diff
>
> 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
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php