Re: \0 and IllegalArgumentException - Mailing list pgsql-jdbc

From Oliver Jowett
Subject Re: \0 and IllegalArgumentException
Date
Msg-id 4182225F.9010804@opencloud.com
Whole thread Raw
In response to \0 and IllegalArgumentException  (Sebastiaan van Erk <sebster@sebster.com>)
Responses Re: \0 and IllegalArgumentException  (Sebastiaan van Erk <sebster-pgsql@sebster.com>)
List pgsql-jdbc
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

pgsql-jdbc by date:

Previous
From: Giampaolo Tomassoni
Date:
Subject: Re: Serializable transactions and SQLException
Next
From: Vadim Nasardinov
Date:
Subject: Re: \0 and IllegalArgumentException