Re: tightening up on use of oid 0

From: "Iain" <iain(at)mst(dot)co(dot)jp>
To: "Oliver Jowett" <oliver(at)opencloud(dot)com>
Cc: <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: tightening up on use of oid 0
Date: 2004-10-14 02:30:03
Message-ID: 007101c4b195$b911a000$7201a8c0@mst1x5r347kymb
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Hi Oliver,

Just out of interest, is the case you marked,

> setObject(i, (Integer)null); // (*)

equivalent to

Integer someInteger = null;
setObject(i, someInteger);

?

From what I remember of my code I'd be surprised if I was doing either as
this case would use setInt instead of setObject. I don't think I use
setObject anywhere.

I would ask the question then, is there any situation where there is no
alternative to the insufficiantly typed calls you listed? From my limited
view of the situation, my feeling is that there isn't, so I would say that
such calls should produce errors rather than some kind of default behavour.

Cheers
Iain

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Oliver Jowett 2004-10-14 02:40:03 Re: tightening up on use of oid 0
Previous Message skeize@gmail.com 2004-10-14 01:24:32 PostgreSQL Database interfaced by Java Applet