X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id E317DD1B1B7 for ; Fri, 9 Jul 2004 12:45:15 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 52101-07 for ; Fri, 9 Jul 2004 15:45:10 +0000 (GMT) Received: from net2.micro-automation.com (net2.micro-automation.com [64.7.141.29]) by svr1.postgresql.org (Postfix) with SMTP id 537BED1B19B for ; Fri, 9 Jul 2004 12:45:09 -0300 (ADT) Received: (qmail 29337 invoked from network); 9 Jul 2004 15:45:05 -0000 Received: from dcdsl.ebox.com (HELO ?192.168.1.36?) (davec@64.7.143.116) by net2.micro-automation.com with SMTP; 9 Jul 2004 15:45:05 -0000 Subject: Re: getXXX methods From: Dave Cramer Reply-To: pg@fastcrypt.com To: Kris Jurka Cc: Oliver Jowett , "pgsql-jdbc@postgresql.org" In-Reply-To: <1089288683.1506.235.camel@localhost.localdomain> References: <1088795907.1536.118.camel@localhost.localdomain> <1089145387.1506.65.camel@localhost.localdomain> <1089154614.1508.70.camel@localhost.localdomain> <40EB385F.9030704@opencloud.com> <1089162095.1508.173.camel@localhost.localdomain> <40EB4D85.6080100@opencloud.com> <40EB5683.90301@opencloud.com> <1089230030.1506.226.camel@localhost.localdomain> <1089288683.1506.235.camel@localhost.localdomain> Content-Type: text/plain Organization: Cramer Consulting Message-Id: <1089387924.1506.287.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 Date: Fri, 09 Jul 2004 11:45:24 -0400 Content-Transfer-Encoding: 7bit X-AntiVirus: scanned for viruses by AMaViS 0.2.1 (http://amavis.org/) X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200407/65 X-Sequence-Number: 10449 Well, I have an interesting problem... Detecting that a value is greater than MaxLong? If I parse it using Double.parseDouble, and it is greater than LongMax by 1 or so, the value ends up actually being less due to rounding ? Any suggestions? Dave On Thu, 2004-07-08 at 08:11, Dave Cramer wrote: > I think that since the SQL spec is referenced at the end of the JDBC > spec that it has some relevance. I just thought that in absence of a > second, or third opinion this would suggest a course of action? > > Dave > On Thu, 2004-07-08 at 02:50, Kris Jurka wrote: > > On Wed, 7 Jul 2004, Dave Cramer wrote: > > > > > Ok, it appears (at least from my understanding) that Kris is correct > > > here. > > > > > > I had a look at the sql2003 proposed spec (ISO/IEC 9075-2:2003(E)), and > > > it states: > > > > Well the SQL spec and the JDBC spec are different things. I was basing > > part of my argument on the SQL spec's logic and extending that to fill in > > the holes in the JDBC spec, but I don't consider this definitive. I still > > feel this is the right thing to do, but I don't want to close off the > > discussion if people feel otherwise. > > > > Kris Jurka > > > > > > > > > > > > -- Dave Cramer 519 939 0336 ICQ # 14675561