3 Replies Latest reply on Dec 6, 2010 9:37 AM by Heiko Braun

    PersistenceConfiguration with JNDI

    Heiko Braun Master

      Marcin wrote:


      Here is the implementation of the Persistence Extension which uses hibernate SessionFactory or EntityManagerFactory obtained from JNDI. It's tested with EntityManagerFactory. Lookup to the jndi is done on the first call of merge or clone methods, because during errai bootstrap, jndi tree is not ready yet.