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

jtds | icemank | 4 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  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