]
Tristan Tarrant updated ISPN-10940:
-----------------------------------
Sprint: DataGrid Sprint #36, DataGrid Sprint #37 (was: DataGrid Sprint #36)
JPA deleteBatch should not pass empty collection to CriteriaDelete
------------------------------------------------------------------
Key: ISPN-10940
URL:
https://issues.jboss.org/browse/ISPN-10940
Project: Infinispan
Issue Type: Bug
Components: Loaders and Stores
Affects Versions: 9.4.16.Final, 10.0.1.Final, 10.1.0.Beta1
Reporter: Ryan Emerson
Assignee: Ryan Emerson
Priority: Major
Fix For: 9.4.17.Final, 10.1.0.Beta1, 10.0.2.Final
Passing an empty collection to CriteriaDelete is only supported by some DB
implementations, therefore {{JpaStore::deleteBatch}} should return before a
{{CriteriaDelete}} instance is created when an empty iterable has been supplied.