I really want to know more about the update, export and the values that could be given to hibernate.hbm2ddl.auto
I need to know when to use the update and w
hibernate.hbm2ddl.auto
automatically validates and exports DDL to the schema when the sessionFactory is created.
By default, it does not perform any creation or modification automatically on DB. If the user sets one of the below values then it is doing DDL schema changes automatically.
create - doing creating a schema
update - updating existing schema
validate - validate existing schema
create-drop - create and drop the schema automatically when a session is starts and ends