Sorry Sanjay,

This is not correct.

9.4.6 finder methods
The entity Bean Provider does not write the finder (ejbFind<METHOD>(...))
methods.
The finder methods are generated at the entity bean deployment time using
the container provider�s
tools. The tools can, for example, create a subclass of the entity bean
class that implements the
ejbFind<METHOD>() methods, or the tools can generate the implementation of
the finder methods
directly in the class that implements the entity bean�s home interface.

William Louth
Inprise
www.inprise.com/appserver

-----Original Message-----
From: A mailing list for Enterprise JavaBeans development
[mailto:[EMAIL PROTECTED]]On Behalf Of sanjay Krishna
Sent: Tuesday, September 19, 2000 7:43 AM
To: [EMAIL PROTECTED]
Subject: Re: CMP giving PK error while generating container.


Even in Container managed EJB you have to write this method

public  void ejbFindByPrimaryKey(PrimaryKey Class)
{

}

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to