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