Re: Connections dropped randomly - Mailing list pgsql-jdbc

From Dave Cramer
Subject Re: Connections dropped randomly
Date
Msg-id 1094167635.1543.28.camel@localhost.localdomain
Whole thread Raw
In response to Connections dropped randomly  (Mike Bridge <mike@bridgecanada.com>)
List pgsql-jdbc
Without seeing your code, or your setup, it's hard to say.

But given that exactly the same thing is done by lots of other people
without the problem, I'd be hard pressed to say it's a bug in the
driver, or postgresql.

Dave
On Thu, 2004-09-02 at 19:09, Mike Bridge wrote:
> I find that if I reuse a jdbc connection to perform a number of
> update queries (e.g. 1000), the connection keeps getting dropped
> after a random number of iterations.
>
> This occurs in all sorts of queries throughout my application.  Any
> idea what might be causing this?  I'm not doing anything
> out-of-the-ordinary, and it happens on both prepared statements
> and regular statements.
>
> I had this problem in postgres 7.3, and it's still there after
> upgrading to 7.4.4 & pg74.215.jdbc2.jar.
>
> Thanks,
>
> -Mike
>
> ---------------------------(end of broadcast)---------------------------
> TIP 8: explain analyze is your friend
--
Dave Cramer
519 939 0336
ICQ # 14675561
www.postgresintl.com


pgsql-jdbc by date:

Previous
From: Mike Bridge
Date:
Subject: Connections dropped randomly
Next
From: Shanmugasundaram Doraisamy
Date:
Subject: Out of topic - Need help with connecting Java programs on Linux to Access DB - reg.