Hey pros,
I am developing an application using spring mvc 3 and roo.
Everything is working fine so far, except of the browsers back button functionality. If I am updating data, lets say the name of a customer and submit those changes - no problem. But now I am using the back button of my browser thinking "hmm I wanted to change the surename as well". So going back will display again the update page. If I disable browsercaching by my jsps:

Code:
    <jsp:scriptlet>
    response.addHeader( "Pragma", "no-cache" );
    response.addHeader( "Cache-Control", "no-cache, no-store" );
    response.setDateHeader( "Expires", 0 );
    </jsp:scriptlet>
I do even get the version with the previously changed name. So the view seems up 2 date.

But If I know change the surename and try to update again, Hibernate catches this error:

Code:
 org.hibernate.StaleObjectStateException: Row was updated or deleted by another  
 transaction (or unsaved-value mapping was incorrect)
But I do not get why?
Caching is disabled, the view even shows the updated customer values but I am getting this error nevertheless!

I think this may be a bug in roo, because it appears in the tutorial application as well

I really would appreciate any help, thanks in advance!