title: Spring @RedisHash findAll() return null values
body: <p>I'm using Redis to store students with entity:</p>
  
  <pre><code>@RedisHash("Student")
  public class Student implements Serializable {
      @Id
      private Long id;
      @Indexed
      private String name;
      private Integer age;
      // getters
      // setters
      // Constructor with full parameters
  }
  </code></pre>
  
  <p>and repository:</p>
  
  <pre><code>@Repository
  public interface StudentRepository extends CrudRepository&lt;Student, Long&gt; {
  }
  </code></pre>
  
  <p>I can save a list of students to Redis database and get that list without any error:</p>
  
  <pre><code>@Autowired
  StudentRepository repo;
  
  List&lt;Student&gt; students = new ArrayList&lt;&gt;();
  Student student1 = new Student(........);
  students.add(student1);
  Student student2 = new Student(........);
  students.add(student2);
  repo.findAll().forEach(){
      System.out.println(student);
  }
  </code></pre>
  
  <p>The problem is when other project of mine (I'm building apps with micro-service architecture), I use <code>findAll()</code> function to get that list of students, it returns a list of two <code>null</code> elements. If I use <code>findByName(String name)</code>, it still returns desired result. </p>
  
  <p>Anyone who used to face this problem can help me, thank you in advanced ?</p>