title: JPA Criteria API multiple collection join
body: <p>Can multiple joins be a condition?</p>
  
  <pre class="lang-java prettyprint-override"><code>final CriteriaBuilder builder = entityManager.getCriteriaBuilder();
  
  CriteriaQuery&lt;Game&gt; query = builder.createQuery(Game.class);
  
  final Root&lt;Game&gt; game = query.from(Game.class);
  final ListJoin&lt;Game, Store&gt; store = game.join(Game_.stores);
  final ListJoin&lt;Game, Category&gt; category = game.join(Game_.categories);
  </code></pre>
  
  <p>the second join (catetory) makes results different even if there is no predicates with it.</p>
  
  <p>what's wrong with this code?</p>