Title: Primary key field as instance variable in BMP entity beans

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()?

Thanks,
Murali.
 

Reply via email to