Hibernate hbm2ddl.auto default value
database, hibernate, java, mysql
Solution
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.
validate | update | create | create-drop
- validate- existing schema
- update- only update your schema once created
- create- create schema every time
Problem
What is the default value of ``` hibernate.hbm2ddl.auto ``` in hibernate cfg file mapping is it possible to remove ``` <property name="hibernate.hbm2ddl.auto">update</property> ``` this mapping from config file if i remove this property whether it affect my DB ???