Adds container managed transactoins for doctrine base persistenc in controller actions.