的默认值是什么
hibernate.hbm2ddl.auto
在hibernate cfg文件映射中
可以移除吗
<property name="hibernate.hbm2ddl.auto">update</property>
此来自配置文件的映射
如果我删除此属性,无论它是否影响我数据库
???
的默认值是什么
hibernate.hbm2ddl.auto
在hibernate cfg文件映射中
可以移除吗
<property name="hibernate.hbm2ddl.auto">update</property>
此来自配置文件的映射
如果我删除此属性,无论它是否影响我数据库
???
在创建SessionFactory时自动验证架构DDL或将架构DDL导出到数据库.使用CREATE-DROP,当显式关闭SessionFactory时,数据库模式将被删除.
validate | update | create | create-drop