I have below query which I want to convert to Spring data JPA. I have many other subdocuments to apply criteria on but I have just took 2 for example.
db.adata.fi