I did not specify a primary key in my entities, so a Field named id is
generated automatically. The subclass does nod need to have id and get/setId() methods wich seems to disturb xdoclet while generating code. So, I wonder if that might be a bug in ejb cartridge or if I need to specify a primary key (the way you described it) for every subclass. Any thoughts? Cheers Harald [EMAIL PROTECTED] wrote: If your primary is not "id", then you probably want to define it by giving the <<Identifier>> stereotype to the relevant(s) field(s).On Sat, Apr 16, 2005 at 06:59:32PM +0200, [EMAIL PROTECTED] wrote:Hi all, Entity inheritance seems not to work. It seems that the inherited attribute for the primary key is not recognized by the generation process. Is that a bug in my version or do I need to define a primary key in the model myself? Thanks you Cheers Harald INFO [start] Running <deploymentdescriptor/> Generating EJB deployment descriptor (ejb-jar.xml). ERROR [start] Running XDoclet failed. ERROR [start] <<Could not find method getId that is supposed to return the PrimKeyField.>> XDoclet failed.------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ Andromda-user mailing list Andromda-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/andromda-user |
- Re: [Andromda-user] Entity Inheritance in 3.0-RC2-SNAPSHOT vido
- Re: [Andromda-user] Entity Inheritance in 3.0-RC2-SNAP... h . weyhing