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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
update(UpdateStatementProvider updateStatement)
Execute an update statement.
-
-
-
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
-
-