Re: Question

Поиск
Список
Период
Сортировка
От Kris Jurka
Тема Re: Question
Дата
Msg-id Pine.LNX.4.33.0311082340140.27930-100000@leary.csoft.net
обсуждение исходный текст
Ответ на Question  (Binh Nguyen Thanh <betasoft79@yahoo.com>)
Список pgsql-jdbc

On Fri, 7 Nov 2003, Binh Nguyen Thanh wrote:

> Please help me .
> this code :
>   ResultSet fksRS = dbmd.getImportedKeys(null, null, tableName);
>     while(fksRS.next())
>     {
>         ... fksRS.getString("FKCOLUMN_NAME");
>     }
>
> I get a NullPointerException because fksRS is null, but I don't know
> why. This is not the case when I use MS SQL Server...it does work. Is
> this because the JDBC driver provided with PostgreSQL doesn't support
> this function?
>

You shouldn't be getting a NullPointerException here.  Could you send a
complete example that generates this error?

Kris Jurka


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

Предыдущее
От: "Nick Fankhauser"
Дата:
Сообщение: Re: Accessing PG DB using jdbc
Следующее
От: Kris Jurka
Дата:
Сообщение: Re: ResultSetMetaData.isNullable() returns always unknown