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:
Oliver Gierke
2013-06-13 13:55:39 +02:00
parent 62f2231ae2
commit f2bcf91b18

View File

@@ -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)