Hey all,

Anyone have examples of how I might have xdoclet
create a primary key for my BMP EJB. I have the
following at the class level, but I'm starting to
think I need more than this to get it to generate a
class called DevicePK.

 * @ejb.pk
 *      class="com.comp.mgt.ejb.entity.DevicePK"
 *      generate="true"
 *

Also, seems weird, but would I just code the primary
key return type as the return of my ejbCreate()
methods ... before it's even been generated?  I'm not
understanding this.

ex.

public DevicePK ejbCreate(String id) ...

Any help much appreciated.

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


-------------------------------------------------------
This SF.Net email is sponsored by BEA Weblogic Workshop
FREE Java Enterprise J2EE developer tools!
Get your free copy of BEA WebLogic Workshop 8.1 today.
http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to