Help with exception: java.lang.IllegalArgumentException: \0 not allowed - Mailing list pgsql-jdbc

From Venkatesh Babu
Subject Help with exception: java.lang.IllegalArgumentException: \0 not allowed
Date
Msg-id 20050131072145.83421.qmail@web50402.mail.yahoo.com
Whole thread Raw
Responses Re: Help with exception: java.lang.IllegalArgumentException:  (Oliver Jowett <oliver@opencloud.com>)
List pgsql-jdbc
Hello,

I was working with java.sql.PreparedStatement.

I'm getting an exception
"java.lang.IllegalArgumentException: \0 not allowed"
while using '\0' terminated strings as parameters for
the PreparedStatement. May I know whether usage of
such strings is not permitted? I'm using the
PreparedStatement.setString(int parameterIndex, String
x) function to set the parameters and I get the
exception here.

FYI, I'm using the JDBC driver pg74.213.jdbc2.jar, for
Postgres 7.4.

Thanks,
Venkatesh



__________________________________
Do you Yahoo!?
All your favorites on one personal page � Try My Yahoo!
http://my.yahoo.com

pgsql-jdbc by date:

Previous
From: Stéphane RIFF
Date:
Subject: Re: [SPAM] - Re: [SPAM] - Re: JDBC HighLoad - Found word(s)
Next
From: Oliver Jowett
Date:
Subject: Re: Help with exception: java.lang.IllegalArgumentException: