Nov 8th, 2012, 11:39 AM
MongoDB Distinct Queries
according to the reference manual for Spring Data, apparently distinct is supported in the method name to auto generate the appropriate query.
However, I cannot get this to work and the example is not clear.
Any further resources I can look at?
Nov 8th, 2012, 02:46 PM
I eventually started looking through the Spring source code. From what I can tell, the parser knows about distinct, but the MongoQueryCreator class never uses it.
Originally Posted by too_many_details
Can anyone comment? Oliver Gierke is the author.