Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Re: JDBC and ResultSetMetaData
Jost Richstein wrote:
>
> Hello,
>
> every now and then I get no result (a 'null'), when I try to read
> a column name from a ResultSetMetaData (metadata.getColumnName(i))
> using Oracle 8.1.7 Server and the thin JDBC-Driver with
> JDK1.3.1_04 (on Windows2000).
>
> Prior to that I read metaData.getColumnCount() and got the
> correct result for the given ResultSet, so that the index into
> getColumnName() is correct.
>
> What we can observe is:
>
> - that happens not alway
> - it happens not on special columns or column datatypes
> - it happens not on special queries
>
> Anybody any ideas?
>
> Jost
Hi Jost,
I think (for me, anyway), it would help if you showed an
example query that demonstrates the problem, and the details
(version, etc.) of the JDBC driver you are using.
Thanks,
Avi.
Received on Tue Sep 17 2002 - 05:24:21 CDT