Issue #2907536 by bapi_22, andypost, Venkatesh Rajan.J, Berdir, larowlan: Remove deprecated method entityManager()