11 Replies Latest reply on Apr 4, 2006 12:05 PM by Dan Liu

    How to get EntityManager in seamtest

    Dan Liu Apprentice

      Started trying seamtest again. How can i get EntityManager in SeamTest case.
      tried:
      EntityManagerFactory emf = Persistence.createEntityManagerFactory("mydb");
      and tried:
      EntityManagerFactory emf = Persistence.createEntityManagerFactory("mydb",configOverrides);

      None of them worked.