pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Peter <peter@greatnowhere.com>
To: 'Dave Cramer' <pg@fastcrypt.com>
Cc: 'Kris Jurka' <books@ejurka.com>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: Totally weird behaviour in org.postgresql.Driver
Date: Thu, 12 Mar 2009 15:22:53 +0200
Message-ID: <003001c9a315$a68a9330$f39fb990$@com> (raw)
In-Reply-To: <491f66a50903120342j67e87c7dob10cfdc23580c8f4@mail.gmail.com>
References: <49b7bfef$0$1343$834e42db@reader.greatnowhere.com>
	<49B7CBB6.5020800@opencloud.com>
	<49b7ced9$0$1343$834e42db@reader.greatnowhere.com>
	<Pine.BSO.4.64.0903112335400.25261@leary.csoft.net>
	<002201c9a2f9$edd47510$c97d5f30$@com>
	<491f66a50903120342j67e87c7dob10cfdc23580c8f4@mail.gmail.com>

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@gmail.com [mailto:davecramer@gmail.com] On Behalf Of Dave
Cramer
Sent: Thursday, March 12, 2009 12:43 PM
To: Peter
Cc: Kris Jurka; pgsql-jdbc@postgresql.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 ?

view thread (22+ messages)  latest in thread

Message-ID: <003001c9a315$a68a9330$f39fb990$@com>
Permalink:  ../003001c9a315$a68a9330$f39fb990$@com/
Also on:    postgresql.org/message-id/003001c9a315$a68a9330$f39fb990$@com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: peter@greatnowhere.com, pg@fastcrypt.com, books@ejurka.com
  Subject: Re: Totally weird behaviour in org.postgresql.Driver
  In-Reply-To: <003001c9a315$a68a9330$f39fb990$@com>
  References: <49b7bfef$0$1343$834e42db@reader.greatnowhere.com> <49B7CBB6.5020800@opencloud.com> <49b7ced9$0$1343$834e42db@reader.greatnowhere.com> <Pine.BSO.4.64.0903112335400.25261@leary.csoft.net> <002201c9a2f9$edd47510$c97d5f30$@com> <491f66a50903120342j67e87c7dob10cfdc23580c8f4@mail.gmail.com> <003001c9a315$a68a9330$f39fb990$@com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox