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

Leandro Hermida commented on EJB-65:
------------------------------------

Hi Vance,

Thank you for the patch and I will give you feedback once I get a chance to 
test it.

As for the logic, maybe I could extend it 

Let's say we have abstract class A and it has assocations with *any* other 
classes (abstract or concrete), and concrete class C extends A then the 
cartridge should generate the code for these assocations in class A and class C 
should simply inherit A's associations.

Is this ok?  Basically just adding the fact that A can have assocations with 
both abstract and concrete classes and C should inherit them all.

-Leandro


> Project won't build using EJB3 cartridge when UML model has associations with 
> abstract entities
> -----------------------------------------------------------------------------------------------
>
>          Key: EJB-65
>          URL: http://jira.andromda.org/browse/EJB-65
>      Project: EJB Cartridge
>         Type: Bug

>     Reporter: Leandro Hermida
>     Assignee: Vance Karimi
>     Priority: Blocker
>  Attachments: EJB3EntityFacadeLogicImpl.java.patch, 
> andromda-plugins-cartridges-ejb3-abstract-associations.txt
>
> When building your project  the class "EJB3EntityFacadeLogicImpl.java will 
> throw and exception:
> Relation X has the abstract target Y.  Abstract targets are not allowed in 
> EJB.

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