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 e7529f6e2..5336ef7b3 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 @@ -80,7 +80,7 @@ public interface JpaSpecificationExecutor { /** * Checks whether the data store contains elements that match the given {@link Specification}. - * + * * @param spec the {@link Specification} to use for the existence check. Must not be {@literal null}. * @return true if the data store contains elements that match the given {@link Specification} otherwise * false. @@ -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);