Another patch - Mailing list pgsql-jdbc

From Dave Cramer
Subject Another patch
Date
Msg-id 011801c0d87a$1ce5b600$0401a8c0@INSPIRON
Whole thread Raw
In response to JDBC Download.  ("Thys De Wet@iCommerce" <thys.deWet@za.didata.com>)
List pgsql-jdbc
Hopefully we can slip this in before 7.1.1

This patch fixes a bug which occurs when setObject(1,obj) is called and obj
is of type Object, and is null

Regards,

Dave

[root@ebox2 jdbc2]# diff PreparedStatement.java.orig PreparedStatement.java
517a518,521
>               if (null == x){
>                       setNull(parameterIndex,Types.OTHER);
>                       return;
>               }
568a573,576
>               if (null == x){
>                       setNull(parameterIndex,Types.OTHER);
>                       return;
>               }



pgsql-jdbc by date:

Previous
From: Mark Rosa
Date:
Subject: Re: JDBC Download.
Next
From: Panu Outinen
Date:
Subject: Re: Why?? executeQuery() & exception: "No results were returned by the query."