This problem happens when you call get* on a Manager method and then
call save* or remove* in the same transaction.  You might try removing
the "readOnly" indicator from the transaction attributes in your
Spring context files.  Just search for readOnly in *.xml.

Matt

On 1/4/07, Luiz Fernando Rodrigues <[EMAIL PROTECTED]> wrote:
Hello,

  I ran into this problem this afternoon. Where can I set this in
appfuse? And what is this?! ;-)

error:

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

thanks,
Luiz

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--
http://raibledesigns.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to