EntityManagerFactory must have session scope