会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
nyu学习笔记
博客园
首页
新随笔
联系
订阅
管理
2016年7月6日
hibernate配置文件中"hbm2ddl.auto"属性的用法
摘要: hibrenate配置中有一个“hbm2ddl.auto”的属性,它表示hibernate数据表自动创建的策略 1.create:根据*.hbm.xml配置来生成数据表,每次运行都会删除上次生成的表,即使没有任何改变 2.create-drop:生成数据表,每次SessionFactory关闭时删除
阅读全文
posted @ 2016-07-06 20:14 spacexyz
阅读(165)
评论(0)
推荐(0)
编辑
公告