hibernate 项目建立

1    new ==>java project

 

hibernate 导入jar包

1    windows==>prerence==>java ==>buil path==>user libraries==>new ==>mysql-jdbc==>add external jars==>选择mysql驱动jar包

。。。(类似导入hibernate jar包和junit jar包)

2    右键项目==>properties==>java build path==>libraries==>add libraries==>user library==》选中mysql,hibernate,junit 三个类库==》OK 即可

posted on 2017-12-19 17:08  菜鸟乙  阅读(189)  评论(0编辑  收藏  举报