freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: Bob Kline <bkline AT rksystems.com>
- To: TDS Development Group <freetds AT franklin.oit.unc.edu>
- Subject: Re: preparedStatement problem
- Date: Wed, 2 Aug 2000 12:14:08 -0400 (EDT)
On Wed, 2 Aug 2000, bill dossett wrote:
> this is the stack trace with the jar file supplied,
> hope it isn't pointing to my parameters, but I've
> run the statement several times and it works and
> gives no errors....
> thanks for the help.
>
> Bill
>
I see the problem. There's a missing 'break' statement for the inEscape
case, which therefore falls through to the default case, which throws
the exception you're seeing. Here's the fix:
diff -Naur original/ParameterUtils.java modified/ParameterUtils.java
--- original/ParameterUtils.java Mon Jul 17 00:41:05 2000
+++ modified/ParameterUtils.java Wed Aug 2 12:06:36 2000
@@ -110,6 +110,7 @@
case inEscape:
{
state = inString;
+ break;
}
default:
{
Hope this helps.
--
Bob Kline
mailto:bkline AT rksystems.com
http://www.rksystems.com
-
Re: preparedStatement problem,
Stefan Bodewig, 08/02/2000
- <Possible follow-up(s)>
- Re: preparedStatement problem, bill dossett, 08/02/2000
- Re: preparedStatement problem, Edson Richter - Via Ápia, 08/02/2000
- Re: preparedStatement problem, Stefan Bodewig, 08/02/2000
- Re: preparedStatement problem, Stefan Bodewig, 08/02/2000
- Re: preparedStatement problem, Stefan Bodewig, 08/02/2000
- Re: preparedStatement problem, Bob Kline, 08/02/2000
- Re: preparedStatement problem, Craig Spannring, 08/02/2000
- Re: preparedStatement problem, bill dossett, 08/02/2000
- Re: preparedStatement problem, Bob Kline, 08/02/2000
- Re: preparedStatement problem, Stefan Bodewig, 08/02/2000
- Re: preparedStatement problem, Stefan Bodewig, 08/02/2000
- Re: preparedStatement problem, Bob Kline, 08/02/2000
- Re: preparedStatement problem, bill dossett, 08/02/2000
- Re: preparedStatement problem, Bob Kline, 08/02/2000
- Re: preparedStatement problem, bill dossett, 08/03/2000
- Re: preparedStatement problem, Stefan Bodewig, 08/03/2000
- Re: preparedStatement problem, bill dossett, 08/03/2000
- Re: preparedStatement problem, Stefan Bodewig, 08/03/2000
- Re: preparedStatement problem, Jon Strande, 08/03/2000
Archive powered by MHonArc 2.6.24.