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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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

Browse pgsql-jdbc by date

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