title: Java JPA, How to do Updates to a table without destroy-create?
body: <p>I was learning some JPA to teach to some java friends and I was wondering, how do you handle updates that comes after the creation of the db in JPA? Let's say I have a production environment where there's data that I cannot lose. </p>
  
  <p>Some changes comes in and how do I apply that on my production environment? It there a way that JPA would only update the changes on the database?</p>
  
  <p>Or do I need to manually create a SQL script to update my database?</p>
  
  <p>Is there any other options?</p>
  
  <p>[]'s
  Rodrigo Dellacqua</p>