preparedStatement problem

bill dossett bd at emtex.com
Wed Aug 2 11:57:55 EDT 2000


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


java.sql.SQLException: Internal error.  Bad State 2
        at 
com.internetcds.jdbc.tds.ParameterUtils.countParameters(ParameterUtils.java:116)
        at 
com.internetcds.jdbc.tds.PreparedStatement_base.<init>(PreparedStatement_base.java:86)
        at 
com.internetcds.jdbc.tds.PreparedStatement_2_0.<init>(PreparedStatement_2_0.java:49)
        at java.lang.reflect.Constructor.newInstance(Native Method)
        at 
com.internetcds.jdbc.tds.Constructors.newPreparedStatement(Constructors.java:236)
        at 
com.internetcds.jdbc.tds.Connection_base.prepareStatement(Connection_base.java:499)
        at 
_0002fir_0005fform_0002ejspir_0005fform_jsp_0._jspService(_0002fir_0005fform_0002ejspir_0005fform_jsp_0.java:128)
        at 
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:126)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at 
org.apache.jasper.runtime.JspServlet$JspServletWrapper.service(JspServlet.java:174)
        at 
org.apache.jasper.runtime.JspServlet.serviceJspFile(JspServlet.java:261)
        at 
org.apache.jasper.runtime.JspServlet.service(JspServlet.java:369)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
        at 
org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:503)
        at 
org.apache.tomcat.core.ContextManager.service(ContextManager.java:559)
        at 
org.apache.tomcat.service.connector.Ajp12ConnectionHandler.processConnection(Ajp12ConnectionHandler.java:156)
        at 
org.apache.tomcat.service.TcpConnectionThread.run(SimpleTcpEndpoint.java:338)
        at java.lang.Thread.run(Thread.java:475)




More information about the FreeTDS mailing list