Class SqlDateParamSetter

    • Constructor Detail

      • SqlDateParamSetter

        public SqlDateParamSetter()
    • Method Detail

      • getSupportedTypes

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

        public void setParameter​(PreparedStatement statement,
                                 int idx,
                                 Object value)
                          throws SQLException
        Description copied from interface: SqlTypedParameterSetter
        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.