Hi All, My problem with the spring manage hibernate session continues. I have a struts 2 action with multiple method. My first call to the action display the information of my item which renders the information to a form. Once the user has edited or updated the form, it gets submitted and calls the same strtuts 2 action with a different method of course. At this point, I then bring up the object from the session update the information accordingly and try to update it. The update failed with the following message:
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. I am thinking, because I am calling the same action/bean, would it be possible that I am using the same session from the previous action called which is read only by the "OpenSessionInViewFilter"? It's a long shot, but could this be possible? Thanks, Doug