X-Original-To: pgsql-jdbc-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id B1BBA3A4B05 for ; Fri, 29 Oct 2004 11:57:41 +0100 (BST) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 66604-08 for ; Fri, 29 Oct 2004 10:57:37 +0000 (GMT) Received: from yass.opencloud.co.nz (yass.opencloud.co.nz [203.79.85.162]) by svr1.postgresql.org (Postfix) with ESMTP id A5A0F3A4B00 for ; Fri, 29 Oct 2004 11:57:37 +0100 (BST) Received: from 203-79-104-60.cable.paradise.net.nz ([203.79.104.60] helo=[192.168.0.20]) by yass.opencloud.co.nz with asmtp (Exim 3.35 #1 (Debian)) id 1CNURq-0003M0-00; Fri, 29 Oct 2004 23:57:34 +1300 Message-ID: <4182225F.9010804@opencloud.com> Date: Fri, 29 Oct 2004 23:58:39 +1300 From: Oliver Jowett User-Agent: Mozilla Thunderbird 0.8 (X11/20041021) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Sebastiaan van Erk Cc: pgsql-jdbc@postgresql.org Subject: Re: \0 and IllegalArgumentException References: <1099043710.595.50.camel@localhost> In-Reply-To: <1099043710.595.50.camel@localhost> X-Enigmail-Version: 0.86.0.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.0 tagged_above=0.0 required=5.0 tests= X-Spam-Level: X-Archive-Number: 200410/302 X-Sequence-Number: 11407 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