ResultSetMetaData.isNullable - Mailing list pgsql-jdbc

From snpe
Subject ResultSetMetaData.isNullable
Date
Msg-id 200305021856.37967.snpe@snpe.co.yu
Whole thread Raw
Responses Re: ResultSetMetaData.isNullable  (Barry Lind <blind@xythos.com>)
List 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


pgsql-jdbc by date:

Previous
From: "Jeroen Habets"
Date:
Subject: Re: Inquiry From Form [pgsql]
Next
From: Barry Lind
Date:
Subject: Re: refcursor result set patch