HHH-8452 - Better parameter handling for JPA criteria queries