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

Popular posts from this blog

linux - xterm copying to CLIPBOARD using copy-selection causes automatic updating of CLIPBOARD upon mouse selection -

c++ - qgraphicsview horizontal scrolling always has a vertical delta -