I would say so,  That is to say that if you call commit in the session bean
then the operations carried out in the DAO will be committed and conversely
if you roll back.

HTH
Jin
----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, December 05, 2001 4:58 AM
Subject: Connections & Transactions


> Hi all,
>
> I have a question. If I have a DAO that is implemented as a simple java
> class. I make a connection object at my session bean and pass it to the
DAO
> object. And the DAO object does all its operations on that connection
> object. Then will the DAO come into the same transaction scope as the
> session bean????
>
> This is really urgent. Would appreciate any help,
>
> Thanks
> Aneesha
>
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>
>

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to