Removed bean to handle per thread entitymanager.