title: GreenDao list entity with a list of entities
body: <p>I am making an Android application using GreenDao, and I have these two entities:</p>
  
  <pre><code>@Entity
  public class Quiz {
  
      @Id(autoincrement = true)
      private Long id;
  
      private Date date;
  
      private String type;
  
      @ToMany(referencedJoinProperty = "quizId")
      private List&lt;Answer&gt; answers;
  }
  
  @Entity
  public class Answer {
  
      @Id(autoincrement = true)
      private Long id;
  
      private int answer;
  
      private float value;
  
      private int questionNumber;
  
      private String type;
  
      private Long quizId;
  }
  </code></pre>
  
  <p>I'm trying to fetch the list of Quiz using the following code:</p>
  
  <pre><code>DaoSession daoSession = AndroidAdapter.getDaoSession();
  QuizDao quizDao = daoSession.getQuizDao();
  List&lt;Quiz&gt; quizs = quizDao.loadAll();
  </code></pre>
  
  <p>But the list of answers always comes empty, what am I doing wrong?</p>