Question: what is the difference between hql and hibernate named queries?
Answer: Criteria, in theory should have less overhead than an HQL query (except for named queries, which I'll get to). ... However, with HQL/JPAQL you can define named queries, where the SQL is generated when the SessionFactory starts up. In theory, named queries have less overhead than Criteria.