HQL allows queries such as "from java.lang.Object". JPA does not. So with strict JPA compliance enabled, we should disallow such queries.