Loading up instance variables in ejbFindXXX won't do any good because the
server will turn around and call ejbLoad on some other instance more than
likely. It depends upon the server implementation. Some will use the same
istance, some will not. Depending on this would be a no no from a
portability standpoint.
-Chris.
> -----Original Message-----
> From: DaveFord [SMTP:[EMAIL PROTECTED]]
> Sent: Monday, March 27, 2000 12:18 PM
> To: [EMAIL PROTECTED]
> Subject: ejbFindByPrimaryKey and BMP
>
> With BMP, what exactly is the ejbFindByPrimaryKey method supposed to do? I
> have seen some examples in which the findByPrimaryKey loads all of the
> instance variables. But I've seen other example in which the
> findByPrimaryKey method simple looks up the primarykey.
>
> Q1: Which is preferred?
> Q2: What is the reasoning behind a findPrimaryKey that does nothing but
> use
> the primaryKey to lookup the primaryKey?
>
>
> Dave Ford
>
> ==========================================================================
> =
> 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".