Annotation Interface Modifying


Indicates a query method should be considered a modifying query that returns nothing or the number of rows affected by the query.

Query methods annotated with @Modifying are typically INSERT, UPDATE, DELETE, and DDL statements that do not return tabular results. This annotation isn't applicable if the query method returns results such as INSERT with generated keys.

Author:
Mark Paluch
See Also:
  • Result.getRowsUpdated()