730.saurabh Posted December 5, 2013 Share Posted December 5, 2013 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? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now