JDBC Prepared Statement Bug

From: Dave <dave(at)candata(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: JDBC Prepared Statement Bug
Date: 2002-03-14 13:36:19
Message-ID: 3C90A753.2070106@candata.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I am trying to use a Prepared Statement that has a character type. The
value I am trying to use is '\0' and it is getting set with the
setObject method. It looks like this is just getting converted to a
string which the backend is taking as an end of command so the insert
fails. I think for the chaacter type we need to check for this case and
convert it to a string of "\0". I am using 7.2 and the JDBC driver that
comes with it.

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Lars Preben S. Arnesen 2002-03-14 13:38:46 Re: User permissions
Previous Message Lars Preben S. Arnesen 2002-03-14 13:35:25 Re: User permissions