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 203065294C for ; Tue, 16 Aug 2005 10:37:51 -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 81087-08 for ; Tue, 16 Aug 2005 13:37:48 +0000 (GMT) Received: from yass.opencloud.co.nz (yass.opencloud.co.nz [203.79.85.162]) by svr1.postgresql.org (Postfix) with ESMTP id A761E5287D for ; Tue, 16 Aug 2005 10:37:46 -0300 (ADT) Received: from 203-79-104-60.cable.paradise.net.nz ([203.79.104.60] helo=[192.168.0.21]) by yass.opencloud.co.nz with asmtp (TLS-1.0:DHE_RSA_AES_128_CBC_SHA:16) (Exim 4.34) id 1E51dT-0003az-VC; Wed, 17 Aug 2005 01:37:48 +1200 Message-ID: <4301EC2C.4070303@opencloud.com> Date: Tue, 16 Aug 2005 13:37:48 +0000 From: Oliver Jowett User-Agent: Mozilla Thunderbird 0.8 (Windows/20040913) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Dave Cramer Cc: Kris Jurka , pgsql-jdbc@postgresql.org Subject: Re: Missing functionality in ResultSetMetaData ? References: <224f323405080913385a38ece0@mail.gmail.com> <224f323405080914194be16ac3@mail.gmail.com> <224f3234050809153725fb91c@mail.gmail.com> <224f323405080916162cd2f75a@mail.gmail.com> <42F93CE3.1010003@opencloud.com> <20E72071-5575-4AF2-839F-65FB089968B7@fastcrypt.com> In-Reply-To: <20E72071-5575-4AF2-839F-65FB089968B7@fastcrypt.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.009 required=5 tests=[AWL=0.009] X-Spam-Level: X-Archive-Number: 200508/104 X-Sequence-Number: 13673 Dave Cramer wrote: > > On 9-Aug-05, at 7:35 PM, Kris Jurka wrote: > >> On Wed, 10 Aug 2005, Oliver Jowett wrote: >> >>> BTW, I have had nothing but silence from anything I've sent to Sun's >>> JDBC group, I've given up on it now. >>> >>> >> >> Perhaps we can make some use of Dave's Sun contacts from his CTS work? >> Even if not it wouldn't be a bad idea to get all of the questions we've >> got for Sun into one place. What else do we have other than the >> getColumnDisplaySize() < 0 issue? >> > I'd be more than happy to, can we get all the questions in one place so > that we can > ask them all at once. Oops, forgot about this email. Two things come to mind: - is the driver required to do an implicit cast from VARCHAR to random other types (e.g. setString() used against a smallint column); the spec says nothing about this, and it's inconvenient for us to support, but many people seem to expect it. - is PreparedStatement.setObject(i,null) allowed? It's the only way to sneak an untyped parameter in and seems like an oversight. If it's allowed, what's the equivalent setNull() call that it corresponds to? -O