Ce contenu n'est pas disponible dans la langue sélectionnée.
16.6. Using Named Parameters
Expression.param(...)
operator on the right hand side of any comparison operator from the having(...)
:
Example 16.6. Defining Named Parameters
By default all declared parameters are null, and all defined parameters must be updated to non-null values before the query must be executed. Once the parameters have been declared they may then be updated by invoking either setParameter(parameterName, value)
or setParameters(parameterMap)
on the query with the new values; in addition, the query does not need to be rebuilt. It may be executed again after the new parameters have been defined.
Example 16.7. Updating Parameters Individually
Example 16.8. Updating Parameters as a Map