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

PreparedStatement timeouts?

From: "Paul Tomblin" <ptomblin(at)gmail(dot)com>
To: pgsql-jdbc(at)postgresql(dot)org
Subject: PreparedStatement timeouts?
Date: 2008-08-12 20:13:01
Message-ID: 8efd35820808121313n64781929rd4c97b22f046d529@mail.gmail.com (view raw or flat)
Thread:
Lists: pgsql-jdbc
I think something like this was asked recently, but I didn't see an answer:

If I prepare a statement, is there some time after which I can't use
it?  Or does the connection itself time out?
I've been seeing exceptions with connections that sit idle for long
periods of time, and I'm not sure if it's the connection or the
prepared statement that's the problem.

-- 
House: "Because it doesn't hurt here. Because I don't want to be in
pain, I don't want to be miserable."
Amber: "Well...You can't always get what you want."

Responses

pgsql-jdbc by date

Next:From: Richard BroersmaDate: 2008-08-12 20:21:53
Subject: Re: OT: Question about transactions
Previous:From: Paul TomblinDate: 2008-08-12 20:09:48
Subject: OT: Question about transactions

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