Home » JDO » Query » declareParameters(parameters) - JDO Query's method

declareParameters(parameters) - JDO Query's method

void declareParameters(
  String parameters

Declare the list of parameters query execution. The parameter declaration is a String containing one or more query parameter declarations separated with commas. Each parameter named in the parameter declaration must be bound to a value when the query is executed.

The String parameter to this method follows the syntax for formal parameters in the Java language.

parameters - the list of parameters separated by commas.
JDO 1.0

This documentation page is derived (with some adjustments) from the JDO 2.2 API
and is available under the terms of the Apache License, v. 2.0.