title: Print Records from FindAll() in CrudRepository
body: <p>I am extending CrudRepository in my Repository class. I want to print the records in my table using the findAll method. So far, I have written a test class, and I can see the result query is correct. How can I print the individual records in the table?</p>
  
  <p>Here is a snippet of my code:
  Repository Class</p>
  
  <pre><code>public interface RepositoryAda extends CrudRepository{
  
  
  }
  </code></pre>
  
  <p>Service Class</p>
  
  <pre><code>@Service
  public class Service{
  
  @Autowired private RepositoryAda repository;
  
  @Transactional
  public List selectRecords(){
    return  (List) repository.findAll();
   }
  
  }
  </code></pre>
  
  <p>Test Case:</p>
  
  <pre><code>@Test
  public void getAllRecords() {
      service.selectRecords();
  }
  </code></pre>
  
  <p>How can I print the individual records from the table to a console?</p>