Re: Interpretability with xDBC specification - Mailing list pgsql-jdbc

From Lew
Subject Re: Interpretability with xDBC specification
Date
Msg-id i10cvq$g4$1@news.albasani.net
Whole thread Raw
In response to Re: Interpretability with xDBC specification  (Dave Cramer <pg@fastcrypt.com>)
List pgsql-jdbc
Dave Cramer wrote:
> My reference was to exactly the setQueryTimeout discussion, not a
> general discussion. As Oliver pointed out, please tell us what is not
> compliant so that we can address this.
>
> It is my experience that "compliant" means the way that "XYZ" does it.
> The spec is very vague in many areas so there is lots of room for
> interpretation. This makes it difficult to be compliant.

Case in point:  The Javadocs for 'setQueryTimeout()' only promise that it will
throw 'SQLException' for an argument < 0 or for a query that exceeds its
timeout, not that it will not throw 'SQLException' for an argument >= 0.
Therefore one could argue that the method as implemented does comply.

--
Lew

pgsql-jdbc by date:

Previous
From: David Kerr
Date:
Subject: Re: Unable to commit: transaction marked for rollback
Next
From: Graham Leggett
Date:
Subject: Re: Picking up strange queries for "pg_catalog"