Class SqlReturnUpdateCount

java.lang.Object
org.springframework.jdbc.core.SqlParameter
org.springframework.jdbc.core.SqlReturnUpdateCount

public class SqlReturnUpdateCount extends SqlParameter
Represents a returned update count from a stored procedure call.

Returned update counts - like all stored procedure parameters - must have names.

Author:
Thomas Risberg
  • Constructor Details

    • SqlReturnUpdateCount

      public SqlReturnUpdateCount(String name)
      Create a new SqlReturnUpdateCount.
      Parameters:
      name - the name of the parameter, as used in input and output maps
  • Method Details

    • isInputValueProvided

      public boolean isInputValueProvided()
      This implementation always returns false.
      Overrides:
      isInputValueProvided in class SqlParameter
    • isResultsParameter

      public boolean isResultsParameter()
      This implementation always returns true.
      Overrides:
      isResultsParameter in class SqlParameter