title: Use of Hibernate and flyway in a production system
body: <p>I've been looking into the using hibernate for a project at work. It looks like it does what we want for generating a database for a given set of classes. However, it appears to be strongly discouraged against using hbm2ddl.auto=update in a production environment. </p>
  
  <p>Looking around, I can't see what people do for this situation. Once the database is populated and in use, we will want to add/update extra persistent classes into the databases, without using the unreliable hibernate update. </p>
  
  <p>Flyway looks like it would be useful to handle the database schema update, but this still requires us to manually create upgrade script every time we make any code changes. </p>
  
  <p>Is there an easy way to solve this problem automatically? I can't really see the point of hibernate if it's not good enough for updating in a live environment. </p>
  
  <p>Am I missing something? </p>