Improved documentation of deleteAllInBatch.

Closes #3198
This commit is contained in:
Jens Schauder
2023-10-17 12:46:14 +02:00
parent 5c244e1f54
commit 685107d4e1

View File

@@ -79,7 +79,9 @@ public interface JpaRepository<T, ID> extends ListCrudRepository<T, ID>, ListPag
* Deletes the given entities in a batch which means it will create a single query. This kind of operation leaves JPAs
* first level cache and the database out of sync. Consider flushing the {@link EntityManager} before calling this
* method.
*
* <p>
* It will also NOT honor cascade semantics of JPA, nor will it emit JPA lifecycle events.
*</p>
* @param entities entities to be deleted. Must not be {@literal null}.
* @since 2.5
*/