2.10.2.5.5. JPQL Positional Parameters

The following rules apply to positional parameters.

  • Input parameters are designated by the question mark (?) prefix followed by an integer. For example: ?1.

  • Input parameters are numbered starting from 1.

  • The same parameter can be used more than once in the query string.

  • The ordering of the use of parameters within the query string need not conform to the order of the positional parameters.