Queries.setParams() assume 0 indexing
Steps to reproduce
Position parameters in JPA's query language are implemented differently by Hibernate and EclipseLink. The former start at 0 and the later 1. We use EclipseLink but the code starts from 0.
I don't believe the code us used by anything in the community version but we have a custom endpoints that does call the code.