[ http://jira.andromda.org/browse/EJB-53?page=all ]
Vance Karimi closed EJB-53:
---------------------------
Resolution: Fixed
This is now fixed.
You must set the persistenceProviderExtensions property to hibernate if you
have OneToMany or ManyToMany references to unmapped entities (mapped
superclass).
> 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/