Skip to Content.
Sympa Menu

freetds - Re: preparedStatement problem

freetds AT lists.ibiblio.org

Subject: FreeTDS Development Group

List archive

Chronological Thread  
  • From: "bill dossett" <bd AT emtex.com>
  • To: freetds
  • Subject: Re: preparedStatement problem
  • Date: Wed, 2 Aug 2000 11:57:55


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)





Archive powered by MHonArc 2.6.24.

Top of Page