Error accessing tables metadata

You can use hbm2ddl to generate the initial schema, then use Flyway for automatic migrations and to have a way to store incremental migration scripts in Git.

Read this article for more details.