This normally means your method on the manager is not properly intercepted
or that you are calling methods on a DAO directly from an action. Are there
specific places/actions which trigger this behaviour?

Mike

2008/5/31 mschipperheyn <[EMAIL PROTECTED]>:

>
> Hi all,
>
> At regular intervals I have problems saving objects:
> org.springframework.dao.InvalidDataAccessApiUsageException: Write
> operations
> are not allowed in read-only mode (FlushMode.NEVER/MANUAL): Turn your
> Session into FlushMode.COMMIT/AUTO or remove 'readOnly' marker from
> transaction definition.
>
> Apparently it has something to do with the transaction setup. I'm wondering
> how to resolve this in a general fashion. Does anybody have any experience
> with this? I would imagine just about everyone runs into this.
>
> Kind regards,
>
> Marc
> --
> View this message in context:
> http://www.nabble.com/FlushMode-problems-Hibernate-Spring-tp17573384s2369p17573384.html
> Sent from the AppFuse - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to