Postgres JDBC, WS and commit

From: mephysto <mephystoonhell(at)gmail(dot)com>
To: pgsql-jdbc(at)postgresql(dot)org
Subject: Postgres JDBC, WS and commit
Date: 2012-05-09 15:06:40
Message-ID: 1336576000350-5697657.post@n5.nabble.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

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.

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Kevin Carr 2012-05-09 17:03:53 Fwd: Postgres JDBC, WS and commit
Previous Message Luis Flores 2012-05-06 21:23:18 Fwd: Cleanup patch: Change from Vector/Hashtable to ArrayList/HashMap