> "Murali Krishna, Gadde" wrote:
>
> Hi,
>
> Is it mandatory to have an instance variable for primary key field in a bean managed
>entity bean? If it is mandatory, do I need to set that instance variable to
>context.getPrimaryKey() in ejbActivate () method and set it to null in ejbPassivate()?
It's not mandatory, but certainly useful to do as you suggest.
________________________________________________________________________________
Evan Ireland Sybase EA Server Engineering [EMAIL PROTECTED]
Wellington - New Zealand +64 4 934-5856
===========================================================================
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".