摘要:
Hibernate创建步骤(五大核心接口:Configuration/SessionFactory/Session/Transaction/Query)1.新建工程,导入需要的jar包。2.利用MyEclipse自动生成功能在工程中创建hibernate.cfg.xml配置文件和HibernateSessionFactory.java工具类。生成的主要内容如下:hibernate.cfg.xml: 1 2 3 4 root 5 6 jdbc:mysql://localhost:3306/databasename 7 ... 阅读全文
posted @ 2013-08-06 10:45
流转的岁月
阅读(791)
评论(0)
推荐(0)

浙公网安备 33010602011771号