2.10.2.5.6. JPQL Named Parameters

A named parameter is an identifier that is prefixed by the ":" symbol. It follows the rules for identifiers defined in JPQL FROM Identifiers. Named parameters are case sensitive.

Example:

SELECT pub FROM Publisher pub WHERE pub.revenue  :rev

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