Return-Path: Delivered-To: apmail-jakarta-commons-user-archive@www.apache.org Received: (qmail 51447 invoked from network); 25 Jul 2005 19:11:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 25 Jul 2005 19:11:52 -0000 Received: (qmail 27377 invoked by uid 500); 25 Jul 2005 19:11:45 -0000 Delivered-To: apmail-jakarta-commons-user-archive@jakarta.apache.org Received: (qmail 27320 invoked by uid 500); 25 Jul 2005 19:11:44 -0000 Mailing-List: contact commons-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Jakarta Commons Users List" Reply-To: "Jakarta Commons Users List" Delivered-To: mailing list commons-user@jakarta.apache.org Received: (qmail 27307 invoked by uid 99); 25 Jul 2005 19:11:44 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 Jul 2005 12:11:44 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [62.181.234.130] (HELO exder.exder.se) (62.181.234.130) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 Jul 2005 12:11:36 -0700 Received: from macbeth.expertsystem.se ([84.19.131.23]) by exder.exder.se (8.13.1/8.11.6) with ESMTP id j6PJBb6T017140 for ; Mon, 25 Jul 2005 21:11:40 +0200 (CEST) (envelope-from mj-lists@expertsystem.se) Message-Id: <6.2.3.4.0.20050725210041.02660a30@exder.exder.se> X-Mailer: QUALCOMM Windows Eudora Version 6.2.3.4 Date: Mon, 25 Jul 2005 21:02:49 +0200 To: "Jakarta Commons Users List" From: Mattias Jiderhamn Subject: Re: [DBCP] Transaction question In-Reply-To: <42E52D8C.6010501@pandora.be> References: <8D898A045696ED47A32794F4C96EC5A99AD8AF@MEMMAILCLUSTER1.se.freeliant.net> <42E52D8C.6010501@pandora.be> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N 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