1.JPA2 does not allow fetch join syntax in subselect's from clause.
2. the derived path expression of subselect syntax is processed the same as FROMITEM.
"select c from Company1 c where exists" +
" (select d from c.organization d where KEY(d) = ?1)" +
" order by c ",
in the above query, c.organization in from clause is a derived path expression.