[jboss-user] [JBoss Seam] - Re: EntityHome silently discards updates after errors

cja987 do-not-reply at jboss.com
Wed Nov 1 16:37:44 EST 2006


Actually it looks like simply using another EntityManager anywhere in my action bean caused a completely _different_ component (ruleTypes) in the action bean to not be injected.  Same result whether I injected it with @PersistenceContext or created it by hand with new EntityManagerFactory().createEntityManager().  I guess using multiple entity managers is verboten.

Things just shouldn't be so difficult.  I can't be the first person in the world who has ever had to enforce a uniqueness constraint with JPA.







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

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



More information about the jboss-user mailing list