spring-projects/spring-data-mongodb — pull request #241 by christophstrobl (2014-11-11 11:56:19+00:00)
Title: DATAMONGO-1075 - Pay attention to collection like properties when creating containing queries from part tree.

We now inspect the properties type when creating criteria for `CONTAINS` keyword so that, if the target property is of type `String`, we use an expression, and if the property is collection like we try to finds an exact match within the collection using `$in`.

Along the way we also added support for `NotContaining`.