This content has been marked as final.
Show 4 replies
-
1. Re: Seam Managed Persistence Context doesn't work with @Schedule
lightguard Jul 9, 2012 12:45 PM (in response to lukascz)The conversation scope must be run within an HttpSession, because you can't guarantee this with schedule, no it will not work. You could create your own scope and context though.
-
2. Re: Seam Managed Persistence Context doesn't work with @Schedule
aogier Jul 16, 2012 9:17 AM (in response to lukascz)I've created that Feature Request which I would also want : https://issues.jboss.org/browse/SEAMPERSIST-78
-
3. Re: Seam Managed Persistence Context doesn't work with @Schedule
lightguard Jul 16, 2012 12:45 PM (in response to aogier)Thanks for the feature request Anthony, however, you would probably be better off discussing a feature like this and schedulers on the DeltaSpike mailing list / jira.
-
4. Re: Seam Managed Persistence Context doesn't work with @Schedule
lukascz Jul 18, 2012 11:06 PM (in response to lightguard)Well, the code in the first post works well for me. I use that code in two kinds of places: in methods with @Schedule annotation and in methods invoked during startup of application server.