Chris,
Were are you controlling the transaction from? If you are transactionless it
may be WL's policy to treat each invocation on the bean as a transaction (I
think EJB implementors are free to interpret this part of the spec).
If you want all the invocations to be in a single transaction, you should
start a transaction from a higher level object (e.g. a session bean or from
the client). Better yet, get all state you want from the bean in a single
invocation using a "by value" style call.
We have documented this and related issues in our Developer's Guide
available at www.gemstone.com or www.javasuccess.com
Regards,
-Chris.
> -----Original Message-----
> From: Chris Brown [SMTP:[EMAIL PROTECTED]]
> Sent: Tuesday, June 13, 2000 10:12 AM
> To: [EMAIL PROTECTED]
> Subject: ejbStore on accessor method
>
>
> I am using WL 5.1.
>
> I have a BMP entity bean with a transaction attribute of supports for the
> bean. I have noticed that for every access to my access methods (getXXX)
> that ejbStore is being called. This seems very inefficient, can someone
> explain why?
>
> Thanks
>
> ==========================================================================
> =
> 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".