Bruno Beloff wrote:
> A simple question: how do I use XDoclet to create a
> 
>       public void remove (java.lang.String id)
> 
> method on the generated home interface of my entity EJB?
> 
> /**
>   * @ejb.bean
>   *           ...
>   *           primkey-field = "id"

EJBHome and EJBLocalHome already define

  public void remove ( java.lang.Object pk )

for you, and the container will generate the implementation.

David Harkness
Sr. Software Engineer
Sony Pictures Digital Networks
(310) 482-4756


-------------------------------------------------------
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver
higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to