Interface CommonDeleteMapper
public interface CommonDeleteMapper
This is a general purpose MyBatis mapper for delete 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 TypeMethodDescriptionint
delete
(DeleteStatementProvider deleteStatement) Execute a delete statement.
-
Method Details
-
delete
@DeleteProvider(type=SqlProviderAdapter.class, method="delete") int delete(DeleteStatementProvider deleteStatement) Execute a delete statement.- Parameters:
deleteStatement
- the delete statement- Returns:
- the number of rows affected
-