commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wes Clark" <>
Subject RE: [dbcp] connection autocommit property
Date Wed, 15 Apr 2009 16:30:55 GMT

We do the same thing, and, yes, the pool doesn't change the state of
autocommit.  It is easy to check when you borrow the connection back
from the pool. 

-----Original Message-----
From: Melih Utkan UNSAL [] 
Sent: Wednesday, April 15, 2009 7:52 AM
Subject: [dbcp] connection autocommit property


i am trying to find the behaviour of dbcp about autocommit property.

i am getting the connection from pool and then setting autocommit
property false .

after doing a few transactions,i commit or rollback the transaction and
then i close the connection so it goes back to the pool.

everthing is ok up to now.

if i get that connection one more time after theese operations, then
what is the autocommit property? False or True ?

i expect to be false because i set it false and sent to pool.

what do you think?


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message