X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 4D3598B9F66 for ; Wed, 9 Feb 2005 12:58:07 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 94509-05 for ; Wed, 9 Feb 2005 12:57:50 +0000 (GMT) Received: from web54302.mail.yahoo.com (web54302.mail.yahoo.com [68.142.225.144]) by svr1.postgresql.org (Postfix) with SMTP id BABD38B9F63 for ; Wed, 9 Feb 2005 12:57:51 +0000 (GMT) Received: (qmail 29995 invoked by uid 60001); 9 Feb 2005 12:57:51 -0000 Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; b=H8ti8FHDWbLEKhtgjsahwNKlk6Wld/zeueGZjcjnT1NZ6vjl5KQtaNN2OQ39HbVKOG4tjZbY98MKRdCUrXZPk1a0R3jMqOxRRacvnKu3R9eawbLzDzt/ADXEcUsbJrQa3CjCpeqtch+CSNsV6QYVz7F0jcDPFCVDUFW83h/Jc64= ; Message-ID: <20050209125751.29993.qmail@web54302.mail.yahoo.com> Received: from [202.69.45.91] by web54302.mail.yahoo.com via HTTP; Wed, 09 Feb 2005 04:57:51 PST Date: Wed, 9 Feb 2005 04:57:51 -0800 (PST) From: Syed Abdul Nasir Reply-To: johar111@yahoo.com Subject: Fwd: Problem with deleting row To: pgsql-jdbc@postgresql.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-2055865987-1107953871=:28889" X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.947 tagged_above=0 required=5 tests=DNS_FROM_RFC_ABUSE, FROM_ENDS_IN_NUMS, HTML_30_40, HTML_MESSAGE X-Spam-Level: X-Archive-Number: 200502/49 X-Sequence-Number: 12229 --0-2055865987-1107953871=:28889 Content-Type: text/plain; charset=us-ascii I am using postgresql-8.0.310.jdbc2ee.jar. when I am trying to delete an existing row from resultset, I am getting this exception: java.lang.NullPointerException at org.postgresql.core.v3.SimpleQuery.toString(SimpleQuery.java:40) at org.postgresql.jdbc2.AbstractJdbc2ResultSet.parseQuery(AbstractJdbc2ResultSet.java:1656) at org.postgresql.jdbc2.AbstractJdbc2ResultSet.isUpdateable(AbstractJdbc2ResultSet.java:1516) at org.postgresql.jdbc2.AbstractJdbc2ResultSet.checkUpdateable(AbstractJdbc2ResultSet.java:2427) at org.postgresql.jdbc2.AbstractJdbc2ResultSet.deleteRow(AbstractJdbc2ResultSet.java:694) Is this a known bug? If this is fixed in some jar then please let me know from where I can get the jar. Thanks, -N --------------------------------- Do you Yahoo!? Yahoo! Search presents - Jib Jab's 'Second Term' --0-2055865987-1107953871=:28889 Content-Type: text/html; charset=us-ascii

I am using postgresql-8.0.310.jdbc2ee.jar. when I am trying to delete an existing row from resultset, I am getting this exception:
java.lang.NullPointerException
    at org.postgresql.core.v3.SimpleQuery.toString(SimpleQuery.java:40)
    at org.postgresql.jdbc2.AbstractJdbc2ResultSet.parseQuery(AbstractJdbc2ResultSet.java:1656)
    at org.postgresql.jdbc2.AbstractJdbc2ResultSet.isUpdateable(AbstractJdbc2ResultSet.java:1516)
    at org.postgresql.jdbc2.AbstractJdbc2ResultSet.checkUpdateable(AbstractJdbc2ResultSet.java:2427)
    at org.postgresql.jdbc2.AbstractJdbc2ResultSet.deleteRow(AbstractJdbc2ResultSet.java:694)
 
Is this a known bug? If this is fixed in some jar then please let me know from where I can get the jar.
 
Thanks,
-N


Do you Yahoo!?
Yahoo! Search presents - Jib Jab's 'Second Term' --0-2055865987-1107953871=:28889--