This content has been marked as final. 
    
Show                 4 replies
    
- 
        1. Re: Read only transactions or entityManagersgavin.king Jun 23, 2007 5:55 AM (in response to kruno)just set the flushmode to MANUAL 
- 
        2. Re: Read only transactions or entityManagerskruno Jun 23, 2007 6:02 AM (in response to kruno)Thanks for prompt responese. 
 Can flushmode be set at run time ?
- 
        3. Re: Read only transactions or entityManagerskruno Jun 23, 2007 10:03 AM (in response to kruno)I guess this would be the answer: 
 PersistenceContexts.instance().changeFlushMode(FlushModeType.MANUAL);
- 
        4. Re: Read only transactions or entityManagersgavin.king Jun 23, 2007 12:08 PM (in response to kruno)Or @Begin(flushMode=MANUAL) 
 
    