I had a problem with the JDBC driver (in 7.0.2) always returning 1 as
the row count for deletes (whether the actual delete affected 0 or more
rows). In looking through the source this appears to be a simple one
line code fix.
Change line 370 in src/interfaces/jdbc/org/postgresql/Connection.java
v1.1 from:
if(recv_status.startsWith("INSERT") ||
recv_status.startsWith("UPDATE")) {
to:
if(recv_status.startsWith("INSERT") ||
recv_status.startsWith("UPDATE") || recv_status.startsWith("DELETE")) {
thanks,
--Barry