Actually, I don't know. I create an EntityManager based on the same persistence.xml ..
EntityManagerFactory emf = Persistence.createEntityManagerFactory("timetracker-persistence");
em = emf.createEntityManager();
EntityTransaction et = em.getTransaction();