avihai marchiano wrote:I am not sure its not possible.
He has another question.
Thank you
The main difference between the other question and your question, is that the other question actually doesn't know the type of elements in the collection that is passed into the method.
With your question, you actually know that it is a Criteria<ItemTO> instance, so you know it is the ItemTO.class object that you want. And can just specify it iin source. No need to search based on the Criteria object.
Now, if you don't want to define the ItemTO.class in source, but want to search based on the Criteria<ItemTO> instance, then you have the same issue as the other question.
Henry