2011年9月13日
摘要: 用myeclipse 9.0建立一个带有hibernate的项目1、新建一个java project2、选择 myeclipse database explorer3、新建一个数据库的链接(前提是安装好了数据库)4、为java project 添加 file->myeclipse->add hibernate capabilities5、按照向导建立hibernate的配置,hibernate.cfg.xml6、建立表和类之间的映射:打开 myeclipse database explorer,选择要映射的数据表 ,选择hibernate reverse enginneer7、生成 阅读全文
posted @ 2011-09-13 23:13 cjnong 阅读(1292) 评论(0) 推荐(0) 编辑