接口 SqlParameterSource

    • 字段概要

      字段 
      修饰符和类型字段说明
      static intTYPE_UNKNOWN
      Constant that indicates an unknown (or unspecified) SQL type.
    • 方法详细资料

      • hasValue

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

        int getSqlType​(String paramName)
        Determine the SQL type for the specified named parameter.
        参数:
        paramName - the name of the parameter
        返回:
        the SQL type of the specified parameter, or TYPE_UNKNOWN if not known
        另请参阅:
        TYPE_UNKNOWN
      • getTypeName

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