This is something that bothers me. There is nothing in the EJB spec
which requires N+1 queries (at least not for CMP beans), and it seems
like an order-of-magnitude performance gain could be obtained by
providing a server-specific "get data in one query" option for finder
methods.
Are there any app servers which support this feature?
Jeff Schnitzer
[EMAIL PROTECTED]
>-----Original Message-----
>From: Robert Krueger [mailto:[EMAIL PROTECTED]]
>Sent: Thursday, March 08, 2001 12:58 AM
>To: [EMAIL PROTECTED]
>Subject: Re: Limitation of Entity Beans
>
>
>At 11:44 05.02.2001 , you wrote:
>>When your finder methods return more than one row say n then
>the number of
>>database calls is n+1. I think this is expensive.
>>I want to know whether is there any way to over come this,
>using bmp without
>>going for session beans.
>
>short answer: no, not in an appserver-independent way.
>
>regards,
>
>robert
>
>(-) Robert Krüger
>(-) SIGNAL 7 Gesellschaft für Informationstechnologie mbH
>(-) Brüder-Knauß-Str. 79 - 64285 Darmstadt,
>(-) Tel: 06151 665401, Fax: 06151 665373
>(-) [EMAIL PROTECTED], www.signal7.de
>
>===============================================================
>============
>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".