java - Spring data mongodb Find by nested attribute in document -
im using spring data mongodb, , wondering how can make find using nested attribute documents, using repositories. let´s imagine have document:
{ a:"val", b:{a:1, b:"test"}, b:{a:1, b:"test"} }
and make find findbyaa(int a);
but not works, can me please!
ps:i willing not use mongotemplate repository.
thanks
Comments
Post a Comment