Selecting Objects by HQLc queries technically means parsing HQL and transforming it into some sort of abstract syntax tree. We may instead create corresponding structures by using Hibernate™'s criteria API:
Search Highlighter (On/Off)