diff --git a/spring-data-jpa/src/main/java/org/springframework/data/jpa/repository/JpaSpecificationExecutor.java b/spring-data-jpa/src/main/java/org/springframework/data/jpa/repository/JpaSpecificationExecutor.java index 7f59d83bb..8835cf1d6 100644 --- a/spring-data-jpa/src/main/java/org/springframework/data/jpa/repository/JpaSpecificationExecutor.java +++ b/spring-data-jpa/src/main/java/org/springframework/data/jpa/repository/JpaSpecificationExecutor.java @@ -91,7 +91,8 @@ public interface JpaSpecificationExecutor { * Deletes by the {@link Specification} and returns the number of rows deleted. * * @param spec the {@link Specification} to use for the existence check, must not be {@literal null}. - * @return the number of entities deleted + * @return the number of entities deleted. + * @since 3.0 */ long delete(Specification spec);