Re: Problem with setNull() - Mailing list pgsql-jdbc

From Barry Lind
Subject Re: Problem with setNull()
Date
Msg-id 3DA6FCEA.8080208@xythos.com
Whole thread Raw
In response to Problem with setNull()  ("Robert M. Zigweid" <rzigweid@securesoftware.com>)
Responses Re: Problem with setNull()
List pgsql-jdbc
Robert,

There isn't enough information here to debug this.  Could you provide a
test case that demonstrates the problem?  Also information on what
versions of the database/driver you are using would be helpful as well.

thanks,
--Barry



Robert M. Zigweid wrote:
> I consider this to be a reasonably major bug.  Fortunatly this should be
> quite easy to fix as well.
>
> AbstractJdbc1Statement ignores the SQL type, which is fine, but when
> actually giving the information to the database, rather than passinga
> NULL it's passing ''.
>
> In particular this doesn't work with the bigint type and an error
> occurs.
>
> What is worse, is that no exception is thrown when this occurs.  I have
> yet to track this particular problem down.
>
> Regards,
>
>
> Robert M. Zigweid
>
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org
>



pgsql-jdbc by date:

Previous
From: snpe
Date:
Subject: Re: Out of memory error on huge resultset
Next
From: Barry Lind
Date:
Subject: Re: pq_recvbuf: recv() failed: Connection reset by peer