There are different ways to define parameters for the query transformation and execution process.


default parameters 

creating own parameters 


An easy key value based approach is based on the Odysseus Script command QPARAM (see Handling of Queries).

The values can be retrieved from the query object with getUserParameter(key)

and inside the Transformation, this can be read with, where config is TransformationConfiguration 

ParameterQueryParams keys = config.getOption(ParameterQueryParams.class.getName());
Map<String, String> map = keys.getValue();
String value = map.get("key1");

  • No labels