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

java - Cast from Object to List<String>: CastClassException -

How to set a border for android Imageview in Longpress? -

c# - Operator '==' incompatible with operand types 'Guid' and 'Guid' using DynamicExpression.ParseLambda<T, bool> -