Skip to content

Commit f32d246

Browse files
committed
update BasicRepository to reflect change to List
1 parent ef6e8be commit f32d246

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

api/src/main/java/jakarta/data/repository/BasicRepository.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ public interface BasicRepository<T, K> extends DataRepository<T, K> {
191191
* @throws NullPointerException in case the given {@link Iterable ids} or one of its items is {@code null}.
192192
*/
193193
@Find
194-
Stream<T> findByIdIn(@By(ID) Iterable<K> ids);
194+
Stream<T> findByIdIn(@By(ID) List<K> ids);
195195

196196
/**
197197
* Deletes the entity with the given Id.
@@ -226,7 +226,7 @@ public interface BasicRepository<T, K> extends DataRepository<T, K> {
226226
* @throws NullPointerException when the iterable is {@code null} or contains {@code null} elements.
227227
*/
228228
@Delete
229-
void deleteByIdIn(@By(ID) Iterable<K> ids);
229+
void deleteByIdIn(@By(ID) List<K> ids);
230230

231231
/**
232232
* Deletes the given entities. Deletion of each entity is performed by matching the unique identifier,

0 commit comments

Comments
 (0)