[ http://jira.andromda.org/browse/EJB-53?page=comments#action_14370 ]
Vance Karimi commented on EJB-53: --------------------------------- I have a patch for this, but I wanted to get people's thoughts first. Firstly, how do others feed about this. Is there anyone who would see a problem with changing this default behaviour of the cartridge? Now, if you want to model an association to a mapped superclass, you will be faced with the following problem: http://forum.hibernate.org/viewtopic.php?t=959542 Then read the bit about the @CollectionOfElements annotations http://www.hibernate.org/hib_docs/annotations/reference/en/html_single/#CollectionOfElements It it scary to think this functionality can only be achieved by enabling Hibernate though, which will have to be the case just to get it working! Any thoughts? > Wrong class reference of associations of a MappedSuperclass > ----------------------------------------------------------- > > Key: EJB-53 > URL: http://jira.andromda.org/browse/EJB-53 > Project: EJB Cartridge > Type: Bug > Reporter: Karl-Heinz Walk > Assignee: Vance Karimi > Priority: Critical > > A modelled entity "XXX" with stereotype <<MappedSuperclass>> which has an > association to an entity "YYY" is named "XXXEmbeddable". But in the class > "YYY" the association definition is of class "XXX" instead of > "XXXEmbeddable". The generated code can't be compiled. > To solve this bug I suggest that explicitly modelled mapped superclasses are > NOT renamed to "XXXEmbeddable" but simply named "XXX". -- 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/