This content has been marked as final.
Show 2 replies
-
1. Re: Managed persistence context
blabno Sep 23, 2009 4:14 AM (in response to chris.simons)For sure you can inject EntityManager in both scenarios. As to first part...hm...I have never used entity-transaction.
-
2. Re: Managed persistence context
chris.simons Sep 23, 2009 2:55 PM (in response to chris.simons)The Seam JEE5 examples use <transaction:ejb-transaction/> and in those examples, they inject EntityManager using @PersistenceContext.
So I'm trying to wrap my head around the difference here.
Thanks.