I want to create database schema in hibernate first time. And further, if there is any modification in the schema, like addition of a new table or deletion of some column, I
You can use 'import.sql' .
Add a import.sql file in resource as follow:
/*create database at first time*/ CREATE SCHEMA your-database-name;
and add a line in 'hibernate.cfg.xml' as follow:
... ... import.sql ... ...
So, if not exist the database, hibernate creates new db.