There is no guarantee that an ejbLoad is called before ejbRemove. For example,
an instance may not receive an ejbLoad if the instance got to the "ready" state via
the ejbCreate/ejbPostCreate transition.

Vlada

----- Original Message -----
From: Chip Wilson <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, June 17, 1999 3:58 PM
Subject: FW: ejbRemove without ejbLoad?


> Actually, the question is even more important for entities with bean managed
> persistence.  Should entities using BMP implement their ejbRemove methods
> depending only on their PK from their EntityContext, or can they assume they
> have been loaded (ejbLoad)?
>
> > -----Original Message-----
> > From: Chip Wilson
> > Sent: Thursday, June 17, 1999 4:32 PM
> > To:   '[EMAIL PROTECTED]'
> > Subject:      ejbRemove without ejbLoad?
> >
> > Is it allowed for a container to call ejbRemove on an entity bean with
> > container managed persistence without ever having called ejbLoad on the
> > instance?
> >
> > Chip Wilson
> > ObjectSpace
> >
>
> ===========================================================================
> 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