I am working on a product that uses hibernate (4.2) and mysql (Amazon RDS). the schema is updated via liquibase whenever a change is made. it also hosts many tanents through different schemas in the same DB instance. each time a new customer is registered a new schema is built. two things should happen:
1) create the schema
2) fill the schema with static data
currently, the schema update is done by hibernate (hbm2ddl update) and the filling of static data is done by code. I don't like both solutions as I understand hbm is limited and I don't like static data changes to be code related.
are there any suggestions on how to tackle this issue?