Hi Cedric -

WRT <finders-load-bean>.  The DTD makes it look like this only works on
finders that
return a Remote, *not* on finders that return collections.  Is that true?
If so,
then it is missing the most productive section, where you can do a nice bulk
select
and fill up a collection of beans...

---

<!--
Applicable to CMP entity beans only.  This optional optimization
affects whether the bean is loaded immediately into the cache
(followed by invoke of ejbLoad) after a call to a finder returns a
reference to a bean.

If this is set to "True", the bean will immediately be loaded into the cache
if a reference to a bean is returned by the finder. If this is set to
"False", the bean will not be loaded into the cache until the first invoke
of the bean.

The default value is "True", which generally provides the best performance.

Used in: persistence
-->

---

Dion


> -----Original Message-----
> From: A mailing list for Enterprise JavaBeans development
> [mailto:[EMAIL PROTECTED]]On Behalf Of Cedric Beust
> Sent: Thursday, May 17, 2001 11:47 AM
> To: [EMAIL PROTECTED]
> Subject: Re: CMP relationships in EJB2.0
>
>
> > From: Jay Walters [mailto:[EMAIL PROTECTED]]
>
> > I am using CMP on Weblogic.  I am loading 5000 beans.  I want to
> > eager load them into the appserver in the finder so I do 1
> database query,
> not 5001.
> > Does weblogic support this, or must it do lazy load.
>
> <vendor>
>
> I believe <finders-load-bean> is what you are looking for:
> http://e-docs.bea.com/wls/docs60///////ejb/reference.html#1070596
>
> </vendor>
>
> --
> Cedric
>
> ==================================================================
> =========
> 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