[jboss-user] [JBoss Seam] - Re: two transactions, one entityManager

vladimir.ralev@jboss.com do-not-reply at jboss.com
Mon Apr 30 17:01:59 EDT 2007


I think this will work if you use the factory to create separate EMs:

@PersistenceUnit javax.persistence.EntityManagerFactory emf;

then:

EntityManager em1 = emf.createEntityManager();
  | ...

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

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



More information about the jboss-user mailing list