Postgres JDBC, WS and commit - Mailing list pgsql-jdbc

From mephysto
Subject Postgres JDBC, WS and commit
Date
Msg-id 1336576000350-5697657.post@n5.nabble.com
Whole thread Raw
Responses Re: Postgres JDBC, WS and commit  (Craig Ringer <ringerc@ringerc.id.au>)
List 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.

pgsql-jdbc by date:

Previous
From: Luis Flores
Date:
Subject: Fwd: Cleanup patch: Change from Vector/Hashtable to ArrayList/HashMap
Next
From: Kevin Carr
Date:
Subject: Fwd: Postgres JDBC, WS and commit