| Those versions take the criteria and render it into HQL for the HQL translator to process. It was a total hack, but in the day when JPA added criteria we also had a ton of other things to implement so that was the easiest solution. And of course we never had time (until 6) to go back and do it properly. So that rendering is not rendering SQL which is really when we need to know the difference |