Hi Rickard,
I use a stateless session to wrap the entity bean,
the session bean has a method retrieveProduct with transaction 'Require'
which will call the myProductEBHome.ejbFindByPrimaryKey with the product ID
as the primaryKey
the retrieveProduct method will the call
myProductEBRemote.getProductDetail() (Trans 'Require')
the will return the product detail object.
with this arrangement, will jBoss call ejbLoad everytime the getProduct is
called....
thanks in advance..
Penn
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Rickard Öberg
Sent: Monday, February 26, 2001 7:29 PM
To: JBoss-User
Subject: Re: [jBoss-User] ejbLoad for BMP
Hi!
Penn wrote:
>
> Hi Richard and ole,
>
> It still doesn't work.
One thing: using commit option C will give you one ejbLoad per
transaction, and not one per business method call. Important
distinction.
There is no way to get one ejbLoad per business method call other than
using TX_REQUIRES_NEW as tx setting.
regards,
Rickard
--
Rickard Öberg
Email: [EMAIL PROTECTED]
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
List Help?: [EMAIL PROTECTED]
--
--------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
List Help?: [EMAIL PROTECTED]