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 Detail

      • 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