Re: Missing fields in getColumns() result

From: Kris Jurka <books(at)ejurka(dot)com>
To: Christian Schröder <cs(at)deriva(dot)de>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: Missing fields in getColumns() result
Date: 2008-01-07 07:15:54
Message-ID: Pine.BSO.4.64.0801070208300.465@leary.csoft.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Håkan Jacobsson 2008-01-07 09:22:25 XA Support for Postgres
Previous Message Christian Schröder 2008-01-07 07:03:46 Re: Missing fields in getColumns() result