java.sql.SQLException: Parameter '@data' not found in the parameter list.

jtds | niagarafaults | 7 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    Incorrect comments processing inside callable statement

    jtds | 7 years ago | niagarafaults
    java.sql.SQLException: Parameter '@data' not found in the parameter list.

    Root Cause Analysis

    1. java.sql.SQLException

      Parameter '@data' not found in the parameter list.

      at net.sourceforge.jtds.jdbc.JtdsCallableStatement.findParameter()
    2. jTDS
      JtdsCallableStatement.setString
      1. net.sourceforge.jtds.jdbc.JtdsCallableStatement.findParameter(JtdsCallableStatement.java:95)
      2. net.sourceforge.jtds.jdbc.JtdsCallableStatement.setString(JtdsCallableStatement.java:437)
      2 frames
    3. net.sourceforge.jtds
      CallableStatementJDBC3Test.testNamedParameters0001
      1. net.sourceforge.jtds.test.CallableStatementJDBC3Test.testNamedParameters0001(CallableStatementJDBC3Test.java:55)
      1 frame