What method you prefer for findAll method repository?
Method 1:
@Repository public class MyRepository{ public List findAll(){...} }