Interface SqlTypedParameterSetter

    • Method Detail

      • getSupportedTypes

        List<Class<?>> getSupportedTypes()
        Specifies the concrete types of the parameter this setter supports.
        Returns:
        a list of supported parameter types.
      • setParameter

        void setParameter​(PreparedStatement statement,
                          int idx,
                          Object value)
                   throws SQLException
        Sets the nth parameter of the specified prepared statement with the given value.
        Parameters:
        statement - the prepared statement.
        idx - the index of the parameter to set in the prepared statement.
        value - the value with which the parameter has to be set.
        Throws:
        SQLException - if an error occurs while setting the parameter.