|
The documentation about the hibernate.hbm2ddl.auto property lists every possible values, but does not explain what they do.
I suggest providing a bullet list with a brief explanation about each possible value, focusing on these main questions:
-
What will happen to existing data? Is hbm2ddl going to truncate existing tables?
-
What will happen to existing tables? Is hbm2ddl going to drop existing tables?
-
What will happen after the SessionFactory is closed?
My (incomplete) proposal:
Automatically validates or exports schema DDL to the database when the SessionFactory is created.
e.g. validate | update | create | create-drop
|