Interface SqlParameterSource

    • Field Summary

      Fields 
      Modifier and TypeFieldDescription
      static intTYPE_UNKNOWN
      Constant that indicates an unknown (or unspecified) SQL type.
    • Method Detail

      • hasValue

        boolean hasValue​(String paramName)
        Determine whether there is a value for the specified named parameter.
        Parameters:
        paramName - the name of the parameter
        Returns:
        whether there is a value defined
      • getSqlType

        int getSqlType​(String paramName)
        Determine the SQL type for the specified named parameter.
        Parameters:
        paramName - the name of the parameter
        Returns:
        the SQL type of the specified parameter, or TYPE_UNKNOWN if not known
        See Also:
        TYPE_UNKNOWN
      • getTypeName

        String getTypeName​(String paramName)
        Determine the type name for the specified named parameter.
        Parameters:
        paramName - the name of the parameter
        Returns:
        the type name of the specified parameter, or null if not known