title: Google App Engine - DELETE JPQL Query and Cascading
body: <p>I noticed that the children of PersistentUser are not deleted when using the JPQL query below. However, the children are deleted if I perform an <code>entityManager.remove(object)</code>. Is this expected? Why doesn't the JPQL query below also perform a cascaded delete?</p>
  
  <pre><code>@OneToMany(mappedBy = "persistentUser", cascade = CascadeType.ALL)
  private Collection&lt;PersistentLogin&gt; persistentLogins;
  
  ...
  
  @Override
  @Transactional
  public final void removeUserTokens(final String username) {
      final Query query = entityManager.createQuery(
          "DELETE FROM PersistentUser p WHERE username = :username");
      query.setParameter("username", username);
      query.executeUpdate();
  }
  </code></pre>