title: Hibernate refresh?
body: <p>I am working with hibernate and mysql to abstract a database for use in a java driven website. I got all my queries to work out just fine using hibernate, but couldn't seem to figure out how to do the updates, inserts, and deletes with it so I ended up making my own bean that does those functions using regular mySQL methods.</p>
  
  <p>The issue I am running into now is that when I do an update or insert using regular mysql, the persisted hibernate objects from the database do not get updated, but the data stored in the database does. How can I resynchronize or "refresh" the hibernate information to match the mysql information?</p>
  
  <p>Or if it would be easier, how do I save/update modified objects from hibernate into msql. (obviously I'm new to hibernate) Any help would be appreciated. Thanks ahead of time!</p>