Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id 4130F632CD6 for ; Tue, 6 Jul 2010 20:20:39 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.29]) (amavisd-maia, port 10024) with ESMTP id 86023-02 for ; Tue, 6 Jul 2010 23:20:32 +0000 (UTC) Received: from news.hub.org (news.hub.org [200.46.204.72]) by mail.postgresql.org (Postfix) with ESMTP id 1EB5F632C4A for ; Tue, 6 Jul 2010 20:20:32 -0300 (ADT) Received: from news.hub.org (news.hub.org [200.46.204.72]) by news.hub.org (8.14.4/8.14.4) with ESMTP id o66NKODC002180 for ; Tue, 6 Jul 2010 20:20:24 -0300 (ADT) (envelope-from news@news.hub.org) Received: (from news@localhost) by news.hub.org (8.14.4/8.14.4/Submit) id o66N7Y4E063847 for pgsql-jdbc@postgresql.org; Tue, 6 Jul 2010 20:07:34 -0300 (ADT) (envelope-from news) From: Lew X-Newsgroups: pgsql.interfaces.jdbc Subject: Re: Interpretability with xDBC specification Date: Tue, 06 Jul 2010 19:10:43 -0400 Organization: albasani.net Lines: 16 Message-ID: References: <20100706112931.3A301633A98@mail.postgresql.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: abuse@albasani.net X-User-ID: o6F64F7hLScGPeo602P5VILMigPAfDXEBJbTzXWELdI= In-Reply-To: Cancel-Lock: sha1:0ARWDsO3iqwtbfh3zzvzZZ0/b+I= User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100423 Thunderbird/3.0.4 X-NNTP-Posting-Host: qj52DsxC5ecYM3aBglOcOuxhDRNtoM3VQNjgW0jTCBA= To: pgsql-jdbc@postgresql.org X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.79 tagged_above=-10 required=5 tests=BAYES_50=0.8, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201007/31 X-Sequence-Number: 20696 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