This content has been marked as final.
Show 3 replies
-
1. Re: Do I need to use FlushMode.MANUAL for this??
christian.bauer Apr 26, 2007 1:28 PM (in response to lindsayh)No, you need FlushMode.MANUAL if you want to disable automatic flushing.
-
2. Re: Do I need to use FlushMode.MANUAL for this??
christian.bauer Apr 26, 2007 1:29 PM (in response to lindsayh)Well, or you could run the EJB method with TransactionAttributeType.NEVER, which switches to auto-commit JDBC connections and also prevents automatic flushing. But this is clumsy and harder to control.
-
3. Re: Do I need to use FlushMode.MANUAL for this??
lindsayh Apr 27, 2007 3:57 AM (in response to lindsayh)Fair enough. MANUAL it is then. Thanks.