I am using EntityManger for the retrieval queries in my spring boot application. Example snippet is given below.
EntityManger
@Repository public class EntityM