X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id C6021D1B537 for ; Fri, 7 Nov 2003 09:26:20 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 76993-02 for ; Fri, 7 Nov 2003 05:25:51 -0400 (AST) Received: from web60202.mail.yahoo.com (web60202.mail.yahoo.com [216.109.118.97]) by svr1.postgresql.org (Postfix) with SMTP id BBDD9D1B531 for ; Fri, 7 Nov 2003 05:25:48 -0400 (AST) Message-ID: <20031107092549.3694.qmail@web60202.mail.yahoo.com> Received: from [203.162.166.251] by web60202.mail.yahoo.com via HTTP; Fri, 07 Nov 2003 01:25:49 PST Date: Fri, 7 Nov 2003 01:25:49 -0800 (PST) From: Binh Nguyen Thanh Subject: Question To: pgsql-jdbc@postgresql.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-1338197866-1068197149=:3201" X-Virus-Scanned: by amavisd-new at postgresql.org X-Spam-Status: No, hits=2.1 tagged_above=0.0 required=5.0 tests=FROM_ENDS_IN_NUMS, HTML_20_30 X-Spam-Level: ** X-Archive-Number: 200311/59 X-Sequence-Number: 8612 --0-1338197866-1068197149=:3201 Content-Type: text/plain; charset=us-ascii 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? --------------------------------- Do you Yahoo!? Protect your identity with Yahoo! Mail AddressGuard --0-1338197866-1068197149=:3201 Content-Type: text/html; charset=us-ascii
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?


Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard --0-1338197866-1068197149=:3201--