validate | update | create | create-drop
- validate- existing schema
- update- only update your schema once created
- create- create schema every time
hibernate.hbm2ddl.auto Automatically validates or exports schema
DDL to the database when the
SessionFactory is created. With create-drop,
the database schema will be dropped
when the SessionFactory is closed explicitly.
e.g. validate | update | create | createdrop
No comments :
Post a Comment