Generate Entity manager service