Hi Denis,
Thanks for your answer. Actually ?1, ?2 is positional parameter and refer to JPA specs (2.0) this is supported. Another things is that (as I saw in hibernate jira: https://hibernate.onjira.com/browse/HHH-7023) HQL ? positional parameter was deprecated.