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

jtds | niagarafaults | 6 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Incorrect comments processing inside callable statement

    jtds | 6 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