title: Database record reverting after manual change
body: <p><strong>Problem solved:</strong> Thanks guys, see my answer below.</p>
  
  <p>I have a website running in Tomcat 5.5 hooked up to a MySQL5 database using Hibernate3.</p>
  
  <p>One record simply refuses to keep any changes performed on it. If I change the record programmatically, the values revert back to what they were previously. </p>
  
  <p>If I manually modify the record in the database, the values will revert (seemingly once the webapp accesses them).</p>
  
  <p>I have tried stopping Tomcat and changing the values manually then starting Tomcat again. Checking the database, the values remain changed after Tomcat has started the webapp but will revert back again once I load the site.</p>
  
  <p>I have also tried deleting the Tomcat work folder for the webapp and the .ser cache file.</p>
  
  <p>I have also checked the code for the values that are being reverted to and cannot find them. </p>
  
  <p>I have only noticed it on this one particular record.</p>
  
  <p><strong>Edit:</strong> I've just had a look at the SQL output from Hibernate using hibernate.show_sql=true.  There is an update query logged for the table my row is in. Does anyone know how to resolve the ? for the columns to actual values?</p>