Re: For Entity Beans, What happens to aninstance field...
Posted By:
sanjay_datta
Posted On:
Monday, April 9, 2001 08:00 AM
When a CMP Entity bean is passivated the container disassociates the Bean instance from the EJBobject and primarykey and releases any resources it has been holding such as sockets.
To save the instance's field to the database, ejbStore() is invoked just before passivation is invoked.
Any field not associated/mapped to the persistent database storage is not saved/stored into the Database.
Re: For Entity Beans, What happens to aninstance field...
Posted By:
Anonymous
Posted On:
Thursday, March 15, 2001 09:05 PM
It will return to Pooled state,
ejbPassivate() remove un referenced instances