Issue #2872879 by Pavan B S, AdamPS, alex_optim, pifagor: Replace all usages of deprecated EntityManagerInterface