Issue #2864259 by Sutharsan, nkoporec, Pavan B S: Replace all usages of deprecated EntityManagerInterface