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.0801070208300.465@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  (Christian Schröder <cs@deriva.de>)
List pgsql-jdbc

On Mon, 7 Jan 2008, Christian Schröder wrote:

>  1. Implement it as you suggested.
>     The only disadvantage of this approach is that the
>     AbstractJdbc2DatabaseMetaData would have to contain also the jdbc3
>     code. I personally would not expect to find the jdbc3
>     implementation in the jdbc2 class, but if that's ok to you I won't
>     complain about it.

I think this is the way to go.  It avoids all the confusion of duplication
or splitting it into a half-dozen functions.  It's OK for a base class to
implement more functionality than it needs to make life easier for its
children.

Kris Jurka

pgsql-jdbc by date:

Previous
From: Christian Schröder
Date:
Subject: Re: Missing fields in getColumns() result
Next
From: Håkan Jacobsson
Date:
Subject: XA Support for Postgres