Re: \0 and IllegalArgumentException

From: Sebastiaan van Erk <sebster-pgsql(at)sebster(dot)com>
To: pgsql-jdbc(at)postgresql(dot)org
Subject: Re: \0 and IllegalArgumentException
Date: 2004-10-29 11:46:46
Message-ID: 20041029114646.GD4199@sebster.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

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(at)postgresql(dot)org)

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Sebastiaan van Erk 2004-10-29 11:56:52 ps.setCharacterStream() and memory usage
Previous Message Oliver Jowett 2004-10-29 10:58:39 Re: \0 and IllegalArgumentException