Situation is the following.
I have a domain class which besides having id of type ObjectId also has some other field of type ObjectId.
I call mockDomain in my test and as soon as I try to query with that field I get
org.springframework.dao.InvalidDataAccessResourceUsageException: Cannot query [test.Test] on non-existent property:
Please find sample project attached.
Thanks in advance.