Re: Problem asking columns allowing NULL values

Поиск
Список
Период
Сортировка
От Peter Royal
Тема Re: Problem asking columns allowing NULL values
Дата
Msg-id 4C476444-6B8E-11D7-9D38-000393B61B56@pace2020.com
обсуждение исходный текст
Ответ на Re: Problem asking columns allowing NULL values  (. <alzina@inicia.es>)
Список pgsql-jdbc
On Thursday, April 10, 2003, at 03:13  PM, . wrote:
> "This method is currently unimplemented and always returns
> ResultSetMetaData.columnNullable. This is obviously incorrect
> when a column is defined with NOT NULL or PRIMARY KEY. And we
> have to think of check constraints, views, functions etc.
>
> This patch simply changes the return value to
> ResultSetMetaData.columnNullableUnknown. This is until someone
> comes up with a real implementation of course."
>
> I'll apreciate if somebody could tell me if someone are working on
> this. If
> not, well, I'm not a Java guru, but perhaps I could help.

If you need a solution today, I recommend using the DatabaseMetaData to
get information on the table, it will properly tell you about column
nullability.
-pete


В списке pgsql-jdbc по дате отправления:

Предыдущее
От: .
Дата:
Сообщение: Re: Problem asking columns allowing NULL values
Следующее
От: Pedro Salazar
Дата:
Сообщение: error getString() --> decodeUTF8 / java.lang.ArrayIndexOutOfBoundsException: 5