DATAJPA-357 - JpaRepository.findAll(Iterable<ID>) now returns List.
JpaRepository now overrides CrudRepository.findAll(Iterable<ID> ids) to return a List instead of an utterable as SimpleJpaRepository returns a List anyway.
This commit is contained in:
@@ -42,6 +42,12 @@ public interface JpaRepository<T, ID extends Serializable> extends PagingAndSort
|
||||
*/
|
||||
List<T> findAll(Sort sort);
|
||||
|
||||
/*
|
||||
* (non-Javadoc)
|
||||
* @see org.springframework.data.repository.CrudRepository#findAll(java.lang.Iterable)
|
||||
*/
|
||||
List<T> findAll(Iterable<ID> ids);
|
||||
|
||||
/*
|
||||
* (non-Javadoc)
|
||||
* @see org.springframework.data.repository.CrudRepository#save(java.lang.Iterable)
|
||||
|
||||
Reference in New Issue
Block a user