Steve Ebersole should not
Session#createQuery(CriteriaQuery)
return a
javax.persistenceTypedQuery
instead of
org.hibernate.query.Query
?