Re: Deadlock problem - Mailing list pgsql-jdbc

From Kris Jurka
Subject Re: Deadlock problem
Date
Msg-id Pine.BSO.4.61.0511181447040.11780@leary.csoft.net
Whole thread Raw
In response to Re: Deadlock problem  (Andrew Sullivan <ajs@crankycanuck.ca>)
Responses Re: Deadlock problem  (Andrew Sullivan <ajs@crankycanuck.ca>)
List pgsql-jdbc

On Fri, 18 Nov 2005, Andrew Sullivan wrote:

> If this connection is being actively used by more than one thread
> concurrently, things are going to break in really surprising ways.
>

The JDBC driver is threadsafe so multiple threads may make calls
simultaneously, but internally only one is executed at a time.  Clearly
running with autocommit = false requires some coordination of
transactions, but multiple threads are not in and of themselves dangerous.

Kris Jurka


pgsql-jdbc by date:

Previous
From: Andrew Sullivan
Date:
Subject: Re: Deadlock problem
Next
From: Andrew Sullivan
Date:
Subject: Re: Deadlock problem