Re: Question

From: Kris Jurka <books(at)ejurka(dot)com>
To: Binh Nguyen Thanh <betasoft79(at)yahoo(dot)com>
Cc: <pgsql-jdbc(at)postgresql(dot)org>
Subject: Re: Question
Date: 2003-11-09 04:41:29
Message-ID: Pine.LNX.4.33.0311082340140.27930-100000@leary.csoft.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

  • Question at 2003-11-07 09:25:49 from Binh Nguyen Thanh

Browse pgsql-jdbc by date

  From Date Subject
Next Message Kris Jurka 2003-11-09 04:45:11 Re: system catalog
Previous Message Kris Jurka 2003-11-09 04:37:04 Re: ResultSetMetaData.isNullable() returns always unknown