摘要: root jdbc:mysql://localhost:3306/myhibernate org.hibernate.dialect.MySQLDialect com.mysql.jdbc.Driver create 5 20 300 50 3000 true true mysql validate 加载hibernate时,验证创建数据库表结构create 每次加载hibernate,重新创建数据库表结构,这就是导致数据库表数据丢失的原因。create-drop 加载hibernate时创建,退出是删除表结构update 加载hibernate自动更新数据库结构在本... 阅读全文
posted @ 2013-06-27 10:35 IT_熊 阅读(1868) 评论(0) 推荐(0)