Re: [JBoss-user] Explicit Usage of Commit and Rollabck...

2003-07-07 Thread Adrian Brock
If you want to handle commit/rollback inside your bean you should use BMT (Bean managed transactions). commit-option is only for entity beans. It is a policy for the cached entity bean instance at the end of the transaction. Regards, Adrian On Mon, 2003-07-07 at 06:12, Muraly R wrote: Hi

Re: [JBoss-user] Explicit Usage of Commit and Rollabck...

2003-07-07 Thread Muraly R
Hi Adrian, Thanks for the immediate response. I am new to this area... So just a few more questions;-) So if I have to use BMT for my bean is it enough to specify the transaction-type as 'Bean' in ejb-jar.xml. Or is there anything more added to this. I have my DS deployed as a service. Also can I

Re: [JBoss-user] Explicit Usage of Commit and Rollabck...

2003-07-07 Thread Adrian Brock
On Mon, 2003-07-07 at 08:11, Muraly R wrote: Hi Adrian, Thanks for the immediate response. I am new to this area... So just a few more questions;-) So if I have to use BMT for my bean is it enough to specify the transaction-type as 'Bean' in ejb-jar.xml. Or is there

[JBoss-user] Explicit Usage of Commit and Rollabck...

2003-07-06 Thread Muraly R
Hi Gurus, I am having a particular Stateful session bean. In this bean I want to handle the database connection manually. That is I should be able to use Connection.commit() and Connection.rollback explicitly, for only this Bean. On a previous mail thread David explained that since the