commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mattias Jiderhamn <mj-li...@expertsystem.se>
Subject Re: [DBCP] Transaction question
Date Mon, 25 Jul 2005 19:02:49 GMT
Or, if you need an Open Source connection pool with JTA support, have 
a look at XAPool and JOTM at ObjectWeb
http://forge.objectweb.org/projects/xapool/ or http://xapool.experlog.com/
http://jotm.objectweb.org/


At 2005-07-25 20:21, you wrote:
>It is as simple as you describe, autocommit false, get a connection 
>and commit/rollback at the end.
>
>Cheers
>Dirk
>
>Michael Molloy wrote:
>>I have just started using the DBCP classes in a commercial web
>>application that I manage, and my boss is thinking about using it in one
>>that he manages. However, his requires the use of transactions, and I'm
>>unclear whether DBCP supports transactions.
>>
>>Is it as simple as checking out a connection, setting autoCommit to
>>false, then committing the transaction when you're finished? Or is a
>>connection still used by multiple threads, even after being checked out
>>of the pool?
>>
>>Thanks,
>>--MIchael
>>
>>=========================================
>>Michael Molloy
>>Senior Software Engineer
>>Ncycles Software Solutions
>>901.756.2705
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: commons-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Mime
View raw message