| For Criteria API, it should work exactly the same, although I haven't tested it. For legacy Criteria, it would require adding a new method. However, the legacy Criteria is deprecated and 6.0 is going to add a way to improve Criteria API beyond the JPA spec so that we can get the best of both worlds. |