1 Reply Latest reply on Mar 19, 2007 10:41 AM by Pete Muir

    EntityManager Question

    Stateless Bean Novice

      Hi,
      I found EntityManager declaration in SeamSpace example in components.xml,
      and i'm not sure, is:

       <component name="em" auto-create="true" class="org.jboss.seam.core.ManagedPersistenceContext">
       <property name="persistenceUnitJndiName">java:/expertEntityManagerFactory</property>
       </component>
      

      is this equal to:

      @PersistenceContext(type=EXTENDED)
      EntityManager em;
      


      ??