Skip to Content.
Sympa Menu

freetds - Re: preparedStatement problem

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: Stefan Bodewig <bodewig AT bost.de>
  • To: <freetds AT franklin.oit.unc.edu>
  • Cc: freetds-jdbc-bugs AT internetcds.com
  • Subject: Re: preparedStatement problem
  • Date: 02 Aug 2000 18:11:44 +0200

>>>>> "bd" == bill dossett <bd AT emtex.com> writes:

bd> this is the stack trace with the jar file supplied, hope it isn't
bd> pointing to my parameters, but I've run the statement several
bd> times and it works and gives no errors.... thanks for the help.

Nope, looks like there is a break missing in
ParameterUtils.countParameters. Patch against CVS version is attached.

Stefan

Index: ParameterUtils.java
===================================================================
RCS file: /Repository/freetds_jdbc/ParameterUtils.java,v
retrieving revision 1.9
diff -u -r1.9 ParameterUtils.java
--- ParameterUtils.java	2000/07/17 04:41:05	1.9
+++ ParameterUtils.java	2000/08/02 16:10:48
@@ -110,6 +110,7 @@
                case inEscape:
                {
                   state = inString;
+                  break;
                }
                default:
                {



Archive powered by MHonArc 2.6.24.

Top of Page