>If the original request was "Get me all employees", then the corresponding
>find()
>method in case of BMP might use one query

>SELECT PKEY, FNAME, LNAME FROM EMP

>to build the enumeration of primary keys AND entity bean for each employee,
>which
>will remain in cache until used by the caller.

I don't think this can be done with BMP, as the result of the ejbFind
should be an enumeration of primery keys, then the continer take every
primery key and use ejbLoad to load the rest of the fields.

The spec limit the way this find is solved, this is where CMP has more space for 
optimization.

muly.

===========================================================================
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