Hello,

With the EJB cartridge, is there a way to specify a coupound
primary key for an entity bean ?

Right now, the EntityBean.vsl template has this statement for
xdoclet : 
  @ejb.pk generate="false" class="$identifier.type.fullyQualifiedName"

apparently, this uses only the type of one of the attributes
marked with the <<Identifier>> stereotype.

If an entity bean has two or more <<Identifier>>, normally one
makes a primary key class containing only the identifier attributes
and specifies the <prim-key-class> and <primkey-field> tags in
the ejb-jar.xml deployment descriptor. How this can be achieved
with the EJB cartridge ?

Regards,


-------------------------------------------------------
This SF.net email is sponsored by Microsoft Mobile & Embedded DevCon 2005
Attend MEDC 2005 May 9-12 in Vegas. Learn more about the latest Windows
Embedded(r) & Windows Mobile(tm) platforms, applications & content.  Register
by 3/29 & save $300 http://ads.osdn.com/?ad_id=6883&alloc_id=15149&op=click
_______________________________________________
Andromda-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/andromda-user

Reply via email to