Re: Problem with setNull()

From: Barry Lind <barry(at)xythos(dot)com>
To: "Robert M(dot) Zigweid" <rzigweid(at)securesoftware(dot)com>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: Problem with setNull()
Date: 2002-10-11 16:31:38
Message-ID: 3DA6FCEA.8080208@xythos.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)postgresql(dot)org
>

In response to

Responses

Browse pgsql-jdbc by date

  From Date Subject
Next Message Barry Lind 2002-10-11 16:35:21 Re: pq_recvbuf: recv() failed: Connection reset by peer
Previous Message Dave Cramer 2002-10-11 16:04:31 move 0 behaviour