I just tried this again, replacing the ? with a test value and it works so
the problem is the pst.setString() call.

I know the String I'm passing to setString is valid because I can print it
to the screen just find...

Is preparedStatement.setString() buggy?

Hunter

> From: Joe Laffey <[EMAIL PROTECTED]>
> Reply-To: [EMAIL PROTECTED]
> Date: Tue, 27 Mar 2001 00:07:44 -0600 (CST)
> To: Tomcat User List <[EMAIL PROTECTED]>
> Subject: Re: Confusing Problem with SQL Query in Tomcat
> 
> You tried pasting a plain SELECT string with no "?"s in the
> prepareStatement string? Are you certain that the connection pool works
> right? Try it with a plain con9[F~ion that you establish right there in
> the code perhaps.

Reply via email to