Re: Problem with setNull()

From: "Robert M(dot) Zigweid" <rzigweid(at)securesoftware(dot)com>
To: Barry Lind <barry(at)xythos(dot)com>
Cc: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: Problem with setNull()
Date: 2002-10-11 17:48:05
Message-ID: 1034358486.8030.11.camel@Ilyria
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

My apologies. The information that I was using was flawed. P6spy
incorrectly reported (or modified) what was sent and nulls werre
actually sent. I'm still investigating why the error exception was not
thrown however.

I will investigate and report on this further when I have adequate time.

On Fri, 2002-10-11 at 12:31, Barry Lind wrote:
> 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
> >
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: you can get off all lists at once with the unregister command
> (send "unregister YourEmailAddressHere" to majordomo(at)postgresql(dot)org)

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Dave Cramer 2002-10-11 17:59:41 Re: Out of memory error on huge resultset
Previous Message Dror Matalon 2002-10-11 17:12:31 Re: Out of memory error on huge resultset