Skip site navigation (1) Skip section navigation (2)

Re: Deadlock problem

From: Andres Olarte <olarte(dot)andres(at)gmail(dot)com>
To: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: Deadlock problem
Date: 2005-11-20 00:52:53
Message-ID: 3fccaa690511191652s384fd84v41708ff2481660cb@mail.gmail.com (view raw or flat)
Thread:
Lists: pgsql-jdbc
There's also the option of using a queue that's accessed by various threads
and a single thread with a single connection that actually talks with the
DB. I've been sucessfull with this aproach, at least in a very particular
and well defined scenario. As for reiventing the wheel, it's probably very
pointless and prone to erros like Andrew mentions. The DB has transactions,
they work well, use them to your advantage.

Andres

In response to

pgsql-jdbc by date

Next:From: Jojo PaderesDate: 2005-11-20 16:01:21
Subject: Re: implementing setObject(n, java array[])
Previous:From: pedro farinhaDate: 2005-11-19 00:35:17
Subject: Re: Again the JSCreator and Metadata issues

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group