Obiously I do not need to synchronize the method. the synchronized block
inside it should work just fine. Was just grasping at straws there.
I checked out dbcp and c3po (thanks for the pointers!) but none fits my app
as each user needs to connect with his own credentials.
I'll see if I can produce a test case and post it here.
From: davecramer(at)gmail(dot)com [mailto:davecramer(at)gmail(dot)com] On Behalf Of Dave
Sent: Thursday, March 12, 2009 12:43 PM
Cc: Kris Jurka; pgsql-jdbc(at)postgresql(dot)org
Subject: Re: [JDBC] Totally weird behaviour in org.postgresql.Driver
Couple things.... do you really need to synchronize twice in every method
Have you looked at dbcp or c3po instead of re-inventing the wheel ?
Can you supply us with a test case which does exhibit the bug ?
In response to
pgsql-jdbc by date
|Next:||From: Craig Servin||Date: 2009-03-12 18:41:59|
|Subject: Re: Totally weird behaviour in org.postgresql.Driver|
|Previous:||From: Tom Lane||Date: 2009-03-12 12:25:13|
|Subject: Re: Renaming sequence auto generated by SERIAL type don't update pg_attrdef |