pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Oliver Jowett <oliver@opencloud.com>
To: Sebastiaan van Erk <sebster@sebster.com>
Cc: pgsql-jdbc@postgresql.org
Subject: Re: \0 and IllegalArgumentException
Date: Fri, 29 Oct 2004 23:58:39 +1300
Message-ID: <4182225F.9010804@opencloud.com> (raw)
In-Reply-To: <1099043710.595.50.camel@localhost>
References: <1099043710.595.50.camel@localhost>

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



view thread (6+ messages)  latest in thread

Message-ID: <4182225F.9010804@opencloud.com>
Permalink:  ../4182225F.9010804@opencloud.com/
Also on:    postgresql.org/message-id/4182225F.9010804@opencloud.com

 · 

reply

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: oliver@opencloud.com, sebster@sebster.com
  Subject: Re: \0 and IllegalArgumentException
  In-Reply-To: <4182225F.9010804@opencloud.com>
  References: <1099043710.595.50.camel@localhost> <4182225F.9010804@opencloud.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