Re: ResultSetMetaData Implementation Patch - Mailing list pgsql-jdbc

From Kris Jurka
Subject Re: ResultSetMetaData Implementation Patch
Date
Msg-id Pine.LNX.4.33.0311161123290.11221-200000@leary.csoft.net
Whole thread Raw
In response to Re: ResultSetMetaData Implementation Patch  (Jan-Andre le Roux <janandre@gen5.co.za>)
List pgsql-jdbc

On Fri, 14 Nov 2003, Jan-Andre le Roux wrote:

> Jan-Andre le Roux wrote:
> > Hi
> >
> > The patch attached implements the following Result Set Meta Information
> > methods in AbstractJdbc1ResultSetMetaData:
> >
> > getTableName(...)
> > getSchemaName(...)
> > isNullable(...)
> > getColumnName(...)
> > getColumnLabel(...)
> >

After some further testing I came across a situation where this fails to
work properly.  When querying the DatabaseMetaData class a ResultSet is
created in memory without it coming from the server and a real table.
ResultSetMetaData.getColumnName() should still return the correct column
name given to the Field.  Attached is a test case.

Kris Jurka

Attachment

pgsql-jdbc by date:

Previous
From: "Karl von Randow"
Date:
Subject: Re: org.postgresql.Driver not thread-safe
Next
From: Larry Rosenman
Date:
Subject: 7.4RC2: CLASSPATH set breaks configure?