The two places you can best save the key are ejbPostCreate and ejbActivate.

Guess wrote:
>
> hello,
>
> i'm writing a BMP ejb. I'm wondering if it's necessary to get
> the primary key from the EntityContext through the getPrimaryKey()
> method. Can't I just use the cached primary key in ebjload?
>
> ===========================================================================
> 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".

--
________________________________________________________________________________

Evan Ireland              Sybase EAServer 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".

Reply via email to