pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Oliver Jowett <oliver@opencloud.com>
To: Dave Cramer <pg@fastcrypt.com>
Cc: Kris Jurka <books@ejurka.com>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: Missing functionality in ResultSetMetaData ?
Date: Tue, 16 Aug 2005 13:37:48 +0000
Message-ID: <4301EC2C.4070303@opencloud.com> (raw)
In-Reply-To: <20E72071-5575-4AF2-839F-65FB089968B7@fastcrypt.com>
References: <224f323405080913385a38ece0@mail.gmail.com>
	<Pine.BSO.4.56.0508091611090.19160@leary.csoft.net>
	<224f323405080914194be16ac3@mail.gmail.com>
	<Pine.BSO.4.56.0508091659460.32521@leary.csoft.net>
	<224f3234050809153725fb91c@mail.gmail.com>
	<Pine.BSO.4.56.0508091748200.13635@leary.csoft.net>
	<224f323405080916162cd2f75a@mail.gmail.com>
	<42F93CE3.1010003@opencloud.com>
	<Pine.BSO.4.56.0508091833550.2634@leary.csoft.net>
	<20E72071-5575-4AF2-839F-65FB089968B7@fastcrypt.com>

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



view thread (16+ messages)

Message-ID: <4301EC2C.4070303@opencloud.com>
Permalink:  ../4301EC2C.4070303@opencloud.com/
Also on:    postgresql.org/message-id/4301EC2C.4070303@opencloud.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: oliver@opencloud.com, pg@fastcrypt.com, books@ejurka.com
  Subject: Re: Missing functionality in ResultSetMetaData ?
  In-Reply-To: <4301EC2C.4070303@opencloud.com>
  References: <224f323405080913385a38ece0@mail.gmail.com> <Pine.BSO.4.56.0508091611090.19160@leary.csoft.net> <224f323405080914194be16ac3@mail.gmail.com> <Pine.BSO.4.56.0508091659460.32521@leary.csoft.net> <224f3234050809153725fb91c@mail.gmail.com> <Pine.BSO.4.56.0508091748200.13635@leary.csoft.net> <224f323405080916162cd2f75a@mail.gmail.com> <42F93CE3.1010003@opencloud.com> <Pine.BSO.4.56.0508091833550.2634@leary.csoft.net> <20E72071-5575-4AF2-839F-65FB089968B7@fastcrypt.com> <4301EC2C.4070303@opencloud.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox