1 Reply Latest reply on Oct 17, 2005 8:26 AM by gavin.king

    Clarification: @In EntityManager vs. @PersistenceContext Ent

    patrick_ibg

      The Seam reference doc, Chapter 3.4 "Seam managed transactions" shows how to set up a Seam managed EntityManager, which is injected to Seam components via the @In annotation.

      However, most sample code I've seen use the @PersistenceContext annotation. Any difference? Could I use the @PersistenceContext annotation outside of an EJB3 container?