Re: Pgsql jdbc driver 8.3 Build 603: Commit deadlock

From: Kris Jurka <books(at)ejurka(dot)com>
To: Oliver Jowett <oliver(at)opencloud(dot)com>
Cc: Shawn Chasse <shawnchasse(at)gmail(dot)com>, pgsql-jdbc(at)postgresql(dot)org
Subject: Re: Pgsql jdbc driver 8.3 Build 603: Commit deadlock
Date: 2008-11-11 00:31:42
Message-ID: Pine.BSO.4.64.0811101929520.15827@leary.csoft.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

On Tue, 11 Nov 2008, Oliver Jowett wrote:

> Shawn Chasse wrote:
>>
>> Recently I have run into a problem where a commit call in my java code will
>> propogate down to the driver and eventually deadlock waiting for a
>> response.
>
> While your top-level code may be calling commit() on a Hibernate API, the
> actual JDBC work that is going on doesn't involve a commit - it looks like a
> batch insert to me.

It could be another example of this deadlock:

http://archives.postgresql.org/pgsql-jdbc/2008-10/msg00045.php

Shawn, are you doing batch executions that involve many parameters?

Kris Jurka

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Oliver Jowett 2008-11-11 01:46:04 Re: Pgsql jdbc driver 8.3 Build 603: Commit deadlock
Previous Message Tiago Alves 2008-11-11 00:06:34 Using SELECT IN with prepared statement