Hibernate
浪子_
ss
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
hibernate 生成表
// TODO Auto-generated method stub File file =new File("src/hibernate.cfg.mysql.xml"); System.out.println(file.getAbsolutePath()); Configuration config= new Configuration().configure(file); Sessio转载 2012-07-30 16:08:08 · 1997 阅读 · 0 评论 -
hibernate 根据配置文件生成 mysql表
1,设置方言 org.hibernate.dialect.MySQLDialect 2,连接地址 jdbc:mysql://localhost:3306/test 3. update 启动就ok了原创 2013-01-25 18:10:38 · 440 阅读 · 0 评论
分享