HI Aneesha,

I think it depends on if you are using declarative transactions within your
stateless bean. If you are and set your transaction attribute to start a new
transaction, then the answer is yes. If you are not using declarative
transactions then it will be up to you to start a new transaction, either in
the DOA or the stateless session bean.

Jon Ridgway

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] 
Sent: 05 December 2001 04:59
To: [EMAIL PROTECTED]
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