Received: from magus.postgresql.org (magus.postgresql.org [87.238.57.229]) by mail.postgresql.org (Postfix) with ESMTP id BB4739E8854 for ; Wed, 9 May 2012 12:06:55 -0300 (ADT) Received: from sam.nabble.com ([216.139.236.26]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1SS8Td-0003EY-U6 for pgsql-jdbc@postgresql.org; Wed, 09 May 2012 15:06:54 +0000 Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1SS8TQ-0006Zt-BW for pgsql-jdbc@postgresql.org; Wed, 09 May 2012 08:06:40 -0700 Date: Wed, 9 May 2012 08:06:40 -0700 (PDT) From: mephysto To: pgsql-jdbc@postgresql.org Message-ID: <1336576000350-5697657.post@n5.nabble.com> Subject: Postgres JDBC, WS and commit MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: 0.9 (/) X-Archive-Number: 201205/17 X-Sequence-Number: 22917 Hi there, I'm using postgres-JDBC ina GlassFish application server to develop a web service application. I made several tries with either XA and standard driver. I use JDBC connection pool of GlassFish. I found that transaction started into a web service operation, are closed at the end of operation, not when in the code the connection are closed. I am searching a solution to close transaction that permit me to close trasaction when I want it, before end of web service operation. Is there a way to achieve this goal? Thanks in advance. Mephysto -- View this message in context: http://postgresql.1045698.n5.nabble.com/Postgres-JDBC-WS-and-commit-tp5697657.html Sent from the PostgreSQL - jdbc mailing list archive at Nabble.com.