[ http://jira.andromda.org/browse/EJB-94?page=all ]

Olivier THIERRY updated EJB-94:
-------------------------------

    Attachment: uml14.EntityAttributeLogicImpl.diff
                EJB3MetafacadeModel.xml.zip
                EJB3EntityFacadeLogicImpl.diff

> Implement uniqueGroup on entities in EJB3 cartridge
> ---------------------------------------------------
>
>          Key: EJB-94
>          URL: http://jira.andromda.org/browse/EJB-94
>      Project: EJB Cartridge
>         Type: New Feature

>  Environment: AndroMDA 3.3-SNAPSHOT + EJB3 cartridge
>     Reporter: Olivier THIERRY
>     Assignee: Vance Karimi
>  Attachments: EJB3EntityFacadeLogicImpl.diff, EJB3MetafacadeModel.xml.zip, 
> andromda-metafacades-uml.xml.zip, 
> emf.uml2.EntityAssociationEndLogicImpl.diff, 
> emf.uml2.EntityAttributeLogicImpl.diff, 
> uml14.EntityAssociationEndLogicImpl.diff, uml14.EntityAttributeLogicImpl.diff
>
> AndroMDA profiles delivers a @andromda.persistence.column.uniqueGroup that 
> should be used to define unique constraints in a table. But this tagged value 
> is not taken in account by EJB3 cartridge.
> In UML model you set the same value to this tagged value for columns you need 
> to include in the unique constraint. These columns can be either entity 
> attributes or association ends.
> From this model, Hibernate cartridge generates a unique-key attribute in 
> .hbm.xml file.
> But it has to work a different way with EJB3 entities. The unique constraints 
> have to be set within @Table annotation with uniqueConstraints attribute, 
> which itself contains an array of @UniqueConstraint annotation.
> See this post on the forum : 
> http://galaxy.andromda.org/forum/viewtopic.php?t=5215

-- 
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

Reply via email to