Re: Deadlock problem

From: Kris Jurka <books(at)ejurka(dot)com>
To: Andrew Sullivan <ajs(at)crankycanuck(dot)ca>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: Deadlock problem
Date: 2005-11-18 19:49:53
Message-ID: Pine.BSO.4.61.0511181447040.11780@leary.csoft.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Andrew Sullivan 2005-11-18 21:22:48 Re: Deadlock problem
Previous Message Kris Jurka 2005-11-18 18:41:01 Re: Again the JSCreator and Metadata issues