-
1. Re: Conversation times out, entity manager persists??
pmuir Dec 14, 2007 8:58 AM (in response to whafrog)Try with just setting flushmode to manual (no transaction attribute stuff). If you still see a flush when the conversation times out, then post back.
Why? Certain parties to the EJB3 spec wouldn't even allow flushmode manual to exist (its a hibernate extension) let alone be the default (people are too used to working with stateless architectures) -
2. Re: Conversation times out, entity manager persists??
whafrog Dec 14, 2007 10:24 AM (in response to whafrog)I tried that, but it doesn't work either. I'm using Jboss 4.2.0GA. I've managed to avoid the problem by calling entityManager.clear() in the action's destroy method.
-
3. Re: Conversation times out, entity manager persists??
pmuir Dec 14, 2007 11:03 AM (in response to whafrog)We can maybe take a look at this if you submit a runnable example with reproduction steps to JIRA.
-
4. Re: Conversation times out, entity manager persists??
whafrog Dec 14, 2007 11:14 AM (in response to whafrog)Thanks. I'm under the gun and behind schedule, but if I get a chance in the next phase to refactor I'll revisit it. For now at least the problem is prevented.