This is what I have for the entity manager in components.xml

  |    <core:managed-persistence-context name="entityManager"
  |                                      
persistence-unit-jndi-name="java:/xxx.xxx.comEntityManagerFactory"/>
  | 

A lot of my queries are loaded form SLSB DAOs that get their entity manager by 

  |     @PersistenceContext
  |     public EntityManager entityManager;

Is there a better way to inject the entity manger that will us the SMPC or is 
it already using the SMPC?

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4018029
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to