Re: Implementing setQueryTimeout()

From: Oliver Jowett <oliver(at)opencloud(dot)com>
To: Till Toenges <tt(at)kyon(dot)de>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Gregory Stark <stark(at)enterprisedb(dot)com>, PostgreSQL - JDBC <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: Implementing setQueryTimeout()
Date: 2008-02-19 08:27:22
Message-ID: 47BA92EA.1070201@opencloud.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Till Toenges wrote:

> A network timeout or anything worse is handled in an entirely different
> part of the code. That is not the responsibility of the driver, and
> doesn't event need to be part of the database related code at all.

I'm not sure what you mean here - if the connection to the DB fails, the
driver will certainly handle that and tell you about it via a SQLException!

-O

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Till Toenges 2008-02-19 08:27:29 Re: Implementing setQueryTimeout() - round 2
Previous Message Till Toenges 2008-02-19 08:25:40 Re: Implementing setQueryTimeout()