6 Replies Latest reply on Sep 5, 2007 2:57 AM by Christian Bauer

    Switching to Hibernate or not

    Richard Leherpeur Novice


      I started project using Seam-managed persistence context with JPA. Later I needed some of the hibernate feature, so I used the delegation pattern wherever I needed it

       Session session = (Session)entityManager.getDelegate();

      Now I'm wondering if I should just switch to hibernate, instead of using both.

      I'd like to know if there is no need for me to completely switch to hibernate or if this is definitively better than dealing with the 2 persistence contexts.