Re: Deadlock problem - Mailing list pgsql-jdbc

From Andres Olarte
Subject Re: Deadlock problem
Date
Msg-id 3fccaa690511191652s384fd84v41708ff2481660cb@mail.gmail.com
Whole thread Raw
In response to Re: Deadlock problem  (Andrew Sullivan <ajs@crankycanuck.ca>)
List 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

pgsql-jdbc by date:

Previous
From: pedro farinha
Date:
Subject: Re: Again the JSCreator and Metadata issues
Next
From: Jojo Paderes
Date:
Subject: Re: implementing setObject(n, java array[])