From: Sebastiaan van Erk <sebster-pgsql@sebster.com>
To: pgsql-jdbc@postgresql.org
Subject: Re: \0 and IllegalArgumentException
Date: Fri, 29 Oct 2004 13:46:46 +0200
Message-ID: <20041029114646.GD4199@sebster.com> (raw)
In-Reply-To: <4182225F.9010804@opencloud.com>
References: <1099043710.595.50.camel@localhost>
<4182225F.9010804@opencloud.com>
I just tested pg74.215.jdbc3.jar which I just downloaded from
the jdbc.postgresql.org site, and it still gives me the
IllegalArgumentException. Happy to know it has been fixed in the
latest development version.
Greetings,
Sebastiaan van Erk
Oliver Jowett wrote:
> Sebastiaan van Erk wrote:
>
> >I'm using postgres 7.4 with the latest JDBC driver, [...]
>
> >java.lang.IllegalArgumentException: \0 not allowed
>
> Please check your driver version. The latest development driver throws
> SQLException in this case:
>
> >>throw new PSQLException(GT.tr("Zero bytes may not occur in string
> >>parameters."), PSQLState.INVALID_PARAMETER_VALUE);
>
> -O
>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: you can get off all lists at once with the unregister command
> (send "unregister YourEmailAddressHere" to majordomo@postgresql.org)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-jdbc@postgresql.org
Cc: sebster-pgsql@sebster.com
Subject: Re: \0 and IllegalArgumentException
In-Reply-To: <20041029114646.GD4199@sebster.com>
References: <1099043710.595.50.camel@localhost> <4182225F.9010804@opencloud.com> <20041029114646.GD4199@sebster.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox