I\'m using Spring boot and mongodb. I face a problem when we query for inherited classes. For easiness, I use following structure to explain. I have three entities Bas
Bas