0 Replies Latest reply on Aug 9, 2007 11:12 AM by Avihai Marchiano

    How to create EntityManagerFactory?

    Avihai Marchiano Novice

      Hey,

      I want to create EntityManagerFactory in runtime.

      Means, that i dont want to use the persistence.xml file, because i will know the schema name only in runtime.

      Any one has a knowledge or an example how to create EntityManagerFactory in my code ?


      Thank you