Re: Missing fields in getColumns() result - Mailing list pgsql-jdbc

From Kris Jurka
Subject Re: Missing fields in getColumns() result
Date
Msg-id Pine.BSO.4.64.0801062143170.9644@leary.csoft.net
Whole thread Raw
In response to Re: Missing fields in getColumns() result  (Christian Schröder <cs@deriva.de>)
Responses Re: Missing fields in getColumns() result
List pgsql-jdbc

On Mon, 24 Dec 2007, Christian Schr�der wrote:

> So the problem doesn't seem to be solved yet. I have implemented a patch
> that specifically adds the "SOURCE_DATA_TYPE" field to the result of
> "getColumns()".

I don't like splitting the code into columns + values and I don't like
splitting the query into two parts as inconsistencies may occur in the
face of concurrent updates.  What about moving the existing implementation
of getColumns to getColumns(int jdbcVersion), making it do different
things based on the version provided and having getColumns() in Jdbc2/3
just provide the version to the new code.

Kris Jurka

pgsql-jdbc by date:

Previous
From: Roy Smith
Date:
Subject: Check constraint metadata
Next
From: Kris Jurka
Date:
Subject: Re: Batch Update problem