java.sql.SQLException: Output parameters have not yet been processed. Call getMoreResults().

jtds | icemank | 4 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

    Calling scalar function does not set return value.

    jtds | 4 years ago | icemank
    java.sql.SQLException: Output parameters have not yet been processed. Call getMoreResults().

    Root Cause Analysis

    1. java.sql.SQLException

      Output parameters have not yet been processed. Call getMoreResults().

      at net.sourceforge.jtds.jdbc.ParamInfo.getOutValue()
    2. jTDS
      JtdsCallableStatement.getString
      1. net.sourceforge.jtds.jdbc.ParamInfo.getOutValue(ParamInfo.java:159)
      2. net.sourceforge.jtds.jdbc.JtdsCallableStatement.getOutputValue(JtdsCallableStatement.java:124)
      3. net.sourceforge.jtds.jdbc.JtdsCallableStatement.getString(JtdsCallableStatement.java:334)
      3 frames
    3. dummy
      JtdsFunctionCallTest.main
      1. dummy.JtdsFunctionCallTest.main(JtdsFunctionCallTest.java:27)
      1 frame