ResultSetMetaData.isNullable

From: snpe <snpe(at)snpe(dot)co(dot)yu>
To: "'pgsql-jdbc(at)postgresql(dot)org'" <pgsql-jdbc(at)postgresql(dot)org>
Subject: ResultSetMetaData.isNullable
Date: 2003-05-02 18:56:37
Message-ID: 200305021856.37967.snpe@snpe.co.yu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Hello,
ResultSetMetaData.isNullable return always java.sql.ResultSetMetaData.columnNullableUnknown.
Is it possible that this function return "null/not null" as "null/not null" in a table in the database.
I have found this comment in source :
*
* TODO This needs a real implementation, taking into account columns
* defined with NOT NULL or PRIMARY KEY, CHECK constraints, views,
* functions etc.
*/
It isn't important for PRIMARY KEY (must be not null), other constraints, triggers - this function is only for first impression.
I need this function for access right in forms.

Please help

regards
Haris Peco

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Barry Lind 2003-05-03 00:27:05 Re: ResultSetMetaData.isNullable
Previous Message Jeroen Habets 2003-05-01 22:54:23 Re: Inquiry From Form [pgsql]