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

Re: Totally weird behaviour in org.postgresql.Driver

From: "Peter" <peter(at)greatnowhere(dot)com>
To: "'Dave Cramer'" <pg(at)fastcrypt(dot)com>
Cc: "'Kris Jurka'" <books(at)ejurka(dot)com>,<pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: Totally weird behaviour in org.postgresql.Driver
Date: 2009-03-12 13:22:53
Message-ID: 003001c9a315$a68a9330$f39fb990$@com (view raw or flat)
Thread:
Lists: pgsql-jdbc
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
Cramer
Sent: Thursday, March 12, 2009 12:43 PM
To: Peter
Cc: Kris Jurka; pgsql-jdbc(at)postgresql(dot)org
Subject: Re: [JDBC] Totally weird behaviour in org.postgresql.Driver

 

Peter,

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

Responses

pgsql-jdbc by date

Next:From: Craig ServinDate: 2009-03-12 18:41:59
Subject: Re: Totally weird behaviour in org.postgresql.Driver
Previous:From: Tom LaneDate: 2009-03-12 12:25:13
Subject: Re: Renaming sequence auto generated by SERIAL type don't update pg_attrdef

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