SpringSource/spring-data-mongodb — pull request #60 by thomasdarimont (2013-08-08 13:13:57+00:00)
Title: DATAMONGO-507 - Verified that Criteria#not() works as expected.

Added a guard to Criteria#(and|or|nor)Operator to prevent wrapping $and, $or or $nor expressions in a $not expression as mongodb currently doesn't support this.
Added test case to CriteriaTests to verify that not() works as specified.