The second query does not need any join since the FK is in the child table. The JPA specification is on GitHub now so you can open an issue there about your expectations.