AnsweredAssumed Answered

Session / Transaction Management - FlushMode.NEVER

Question asked by cjames on Jan 24, 2006
Latest reply on Apr 14, 2006 by omegerard
I am getting this message, and I have scoured through all of the posts to try not to get beat up too bad as a first-time poster…

==============
Write operations are not allowed in read-only mode (FlushMode.NEVER) - turn your Session into FlushMode.AUTO or remove 'readOnly' marker from transaction definition
==============

I understand that this is a hibernate thing, but it seems that Alfresco is using Springs Transaction layer, and how the config files are layed out, I am at a loss to know where to change
this.

http://www.hibernate.org/hib_docs/api/net/sf/hibernate/FlushMode.html

- Jdk 1.5 / Tomcat 5.0.28
- Alfresco 1.1.2 - war install version

Outcomes