ResultSetMetaData.isNullable(i) not working?

From: Guido Fiala <guido(dot)fiala(at)dka-gmbh(dot)de>
To: pgsql-jdbc(at)postgresql(dot)org
Subject: ResultSetMetaData.isNullable(i) not working?
Date: 2004-02-19 16:25:32
Message-ID: 200402191725.32340.guido.fiala@dka-gmbh.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Hi all,

has someone else tried to use ResultSetMetaData.isNullable(i) to determine
if a column is nullable?

It seems that the driver always returns columnNullableUnknown - independently
if the datasource is a table or view and independ on actual settings.

I can see that it is almost impossible to determine that for columns of views
- or does someone know the trick?

But at least for tables it should work...

Guido

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Chris Smith 2004-02-19 17:32:35 v3 protocol question
Previous Message Chris Smith 2004-02-19 03:20:18 Re: PATH: SSL flexibility and documentation