pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Fwd: Problem with deleting row
2+ messages / 2 participants
[nested] [flat]

* Fwd: Problem with deleting row
@ 2005-02-09 12:57 Syed Abdul Nasir <johar111@yahoo.com>
  2005-02-10 08:02 ` Re: Fwd: Problem with deleting row Kris Jurka <books@ejurka.com>
  0 siblings, 1 reply; 2+ messages in thread

From: Syed Abdul Nasir @ 2005-02-09 12:57 UTC (permalink / raw)
  To: pgsql-jdbc


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'

^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: Fwd: Problem with deleting row
  2005-02-09 12:57 Fwd: Problem with deleting row Syed Abdul Nasir <johar111@yahoo.com>
@ 2005-02-10 08:02 ` Kris Jurka <books@ejurka.com>
  0 siblings, 0 replies; 2+ messages in thread

From: Kris Jurka @ 2005-02-10 08:02 UTC (permalink / raw)
  To: Syed Abdul Nasir <johar111@yahoo.com>; +Cc: pgsql-jdbc



On Wed, 9 Feb 2005, Syed Abdul Nasir wrote:

> 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)

Are you sure you are using 8.0-310 because this certainly looks fixed by 
this cvs log entry which went into the 310 release.

Kris Jurka

revision 1.6
date: 2005/01/27 20:59:02;  author: oliver;  state: Exp;  lines: +5 -2
Bugfix and testcase for NPE when using an updateable resultset obtained 
from a PreparedStatement on a v3 connection. Per report from Martin 
Keller.




^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2005-02-10 08:02 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2005-02-09 12:57 Fwd: Problem with deleting row Syed Abdul Nasir <johar111@yahoo.com>
2005-02-10 08:02 ` Kris Jurka <books@ejurka.com>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox