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

executeWithMap(parameters) - JDO Query's method

Object executeWithMap(
  Map parameters

Execute the query and return the filtered Collection. The query is executed with the parameters set by the Map values. Each Map entry consists of a key which is the name of the parameter in the declareParameters method, and a value which is the value used in the execute method. The keys in the Map and the declared parameters must exactly match or a JDOUserException is thrown.
parameters - the Map containing all of the parameters.
the filtered Collection.
JDO 1.0
See Also:
executeWithArray(Object[] parameters)

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.