类 AbstractSqlParameterSource

    • 方法详细资料

      • registerSqlType

        public void registerSqlType​(String paramName,
                                    int sqlType)
        Register a SQL type for the given parameter.
        参数:
        paramName - the name of the parameter
        sqlType - the SQL type of the parameter
      • registerTypeName

        public void registerTypeName​(String paramName,
                                     String typeName)
        Register a SQL type for the given parameter.
        参数:
        paramName - the name of the parameter
        typeName - the type name of the parameter
      • getTypeName

        public String getTypeName​(String paramName)
        Return the type name for the given parameter, if registered.
        指定者:
        getTypeName 在接口中 SqlParameterSource
        参数:
        paramName - the name of the parameter
        返回:
        the type name of the parameter, or null if not registered