From the EJB3 persistence specs:
EJB QL queries are automatically polymorphic. The FROM clause of a query designates not only
instances of the specific entity class(es) to which explicitly refers but of subclasses as well. The
instances returned by a query include instances of the subclasses that satisfy the query criteria.