Interface CommonUpdateMapper


public interface CommonUpdateMapper
This is a general purpose MyBatis mapper for update statements.

This mapper can be injected as-is into a MyBatis configuration, or it can be extended with existing mappers.

Author:
Jeff Butler
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Execute an update statement.
  • Method Details

    • update

      @UpdateProvider(type=SqlProviderAdapter.class, method="update") int update(UpdateStatementProvider updateStatement)
      Execute an update statement.
      Parameters:
      updateStatement - the update statement
      Returns:
      the number of rows affected