This content has been marked as final.
Show 5 replies
-
1. Re: EntityManager did not get enlisted in DefaultSeamTransaction
lightguard Feb 27, 2012 2:40 PM (in response to adrianosch)My first guess is that you're in manual flush mode. However, I thought tha was fixed. Which version of Seam Peristence and Seam Transaction are you using?
-
2. Re: EntityManager did not get enlisted in DefaultSeamTransaction
adrianosch Feb 27, 2012 3:13 PM (in response to lightguard)3.1.0.Final.
I dont't know if Seam 3 sets the default flush mode to manual, but Hibernate EntityManager does not, and I have not changed hibernate configuration.
-
3. Re: EntityManager did not get enlisted in DefaultSeamTransaction
lightguard Feb 27, 2012 3:29 PM (in response to adrianosch)Double check for me please, as I was pretty sure I squashed that one.
-
4. Re: EntityManager did not get enlisted in DefaultSeamTransaction
adrianosch Feb 27, 2012 7:41 PM (in response to lightguard)Please, try it by yourself:
https://docs.google.com/open?id=0B9vNX5LHwdlKbEpjVk1OOENSUUd1cUt5SXJNMEpaZw
Thanks.
-
5. Re: EntityManager did not get enlisted in DefaultSeamTransaction
adrianosch Feb 27, 2012 7:59 PM (in response to adrianosch)Note if you change the joinTransaction method like this:
@Transactional public void joinTransaction() { entityManager.contains(new Person()); }
Then flush is performed.
Please take a look in the AS 7 releated problem, it's exactally the same.