I am using multi-select input control in my report. The parameter $P{select} is of type java.util.Collection and accepts a list of ids.
The ids that I have are of the type org.bson.types.ObjectId.
"_id": { "$oid": "0d59dcfcd9342a3fc72acadf" }
When I run the report by passing list of ids it returns a blank report. It used to work fine for earlier data when the ids where of type 'String'.
The query in Mongodb that I am using to match ids is _id:{$in:$P{select}}. And in $P{select} I am just passing id as 0d59dcfcd9342a3fc72acadf
What am I doing wrong here?
0 Answers:
No answers yet