List of possible options are:
hibernate.hbm2ddl.auto
As per the documentation it can have four valid values:
•create :- create the schema, the data previously present (if there) in the schema is lost
•update:- update the schema with the given values.
•validate:- validate the schema. It makes no change in the DB.
•create-drop:- create the schema with destroying the data previously present(if there).
It also drop the database schema when the SessionFactory is closed.
Below is the GitHub link to download source:
https://github.com/kishanjavatrainer/...
Blog Link :https://kkjavatutorials.com/hibernate...