[jboss-user] [JBoss Seam] - EntityManager Question

Stateless Bean do-not-reply at jboss.com
Mon Mar 19 09:42:16 EDT 2007


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;
  | 

??

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4029307#4029307

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4029307



More information about the jboss-user mailing list