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

Re: setQueryTimeout

From: Kris Jurka <books(at)ejurka(dot)com>
To: Guillaume Cottenceau <gc(at)mnc(dot)ch>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: setQueryTimeout
Date: 2008-01-15 03:30:39
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-jdbc

On Mon, 14 Jan 2008, Guillaume Cottenceau wrote:

> Personnally, I think that developers will most likely expect the 
> behaviour to be correct if nothing bad (exception) happens.. I'd say 
> that all unsupported API should throw an appropriate exception. Doing 
> the change in 8.3dev makes perfect sense to not break current users, and 
> developers would be crazy to drop in the 8.3 in the future without 
> testing their application again.

Done, setQueryTimeout will throw an exception if given a non-zero timeout.

Kris Jurka

In response to

pgsql-jdbc by date

Next:From: Ken JohansonDate: 2008-01-15 05:31:02
Subject: Re: Patch for Statement.getGeneratedKeys()
Previous:From: Oliver JowettDate: 2008-01-15 03:01:39
Subject: Re: Howto set UUID parameter for PGSQL 8.3rc1 / postgresql-8.3dev-602.jdbc3.jar

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