The on-line information shows that I can generate change logs by comparing Hibernate mappings against an existing database, which is fine for generating change logs for diffs (i.e., incremental changes). However, it is not clear to me how I can generate a change logs that reflects a complete schema needed for creating a fresh new database.
With Hibernate, I use org.hibernate.tool.hbm2ddl.SchemaExportTask to generate full script and this command does not require any database as an input since there’s no existing database schema to compare against. How do I achieve the same effect using liquibase? Do I do that by using the same liquibase tool and give it a pointer to an empty database?
Any help would be appreciated.
Thanks
/Jong