[ http://jira.andromda.org/browse/EJB-25?page=comments#action_14663 ] 

Leandro Hermida commented on EJB-25:
------------------------------------

Hello again,

I guess I see why now - you are applying the foreignKeySuffix and 
constraintSuffix to the end of the tagged value.  



> EJB3: ManyToMany Association generates JoinTable with identical colum names
> ---------------------------------------------------------------------------
>
>          Key: EJB-25
>          URL: http://jira.andromda.org/browse/EJB-25
>      Project: EJB Cartridge
>         Type: Bug

>  Environment: EJb3 Cartridge (latest from CVS), Androdma 3.2 Snapshot of May 
> 14th 2006. 
>     Reporter: Torsten Lunze
>     Assignee: Vance Karimi
>     Priority: Minor

>
> When modelling an unidirectional ManyToMany association the EJB3 cartridge is 
> generating the following JointTable annotation for the property:
>  @javax.persistence.JoinTable (
>     ...
>         joinColumns = [EMAIL PROTECTED](name = "ID")},
>         inverseJoinColumns = [EMAIL PROTECTED](name = "ID")}
>   )
> The column names should be named different (easily just adding a 1 and 2 
> respectivly to the EntityEmbeddable.vsl template) or let the name depend on a 
> tagged value or the association ends.
> (see also http://galaxy.andromda.org/forum/viewtopic.php?p=12852#12852)

-- 
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 DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/

Reply via email to