Class CallParameterMetaData

java.lang.Object
org.springframework.jdbc.core.metadata.CallParameterMetaData

public class CallParameterMetaData extends Object
Holder of meta-data for a specific parameter that is used for call processing.
Since:
2.5
Author:
Thomas Risberg, Juergen Hoeller
See Also:
  • Constructor Details

    • CallParameterMetaData

      public CallParameterMetaData(boolean function, @Nullable String columnName, int columnType, int sqlType, @Nullable String typeName, boolean nullable)
      Constructor taking all the properties including the function marker.
      Since:
      5.2.9
  • Method Details

    • isFunction

      public boolean isFunction()
      Return whether this parameter is declared in a function.
      Since:
      5.2.9
    • getParameterName

      @Nullable public String getParameterName()
      Return the parameter name.
    • getParameterType

      public int getParameterType()
      Return the parameter type.
    • isReturnParameter

      public boolean isReturnParameter()
      Determine whether the declared parameter qualifies as a 'return' parameter for our purposes: type DatabaseMetaData.procedureColumnReturn or DatabaseMetaData.procedureColumnResult, or in case of a function, DatabaseMetaData.functionReturn.
      Since:
      4.3.15
    • getSqlType

      public int getSqlType()
      Return the parameter SQL type.
    • getTypeName

      @Nullable public String getTypeName()
      Return the parameter type name.
    • isNullable

      public boolean isNullable()
      Return whether the parameter is nullable.