摘要: Hibernate 批量操作数据可以使用两种方法实现1、分批更新,每一小批同步一次数据: public void saveEmployee2(){ Session s=HibernateSessionFactory.getSession(); Transaction tran=s.beg... 阅读全文
posted @ 2015-11-03 14:59 Bodi 阅读(162) 评论(0) 推荐(0) 编辑
摘要: 地址:http://resource.ajava.org/hibernate/hibernate-3.6.7.final-manual-zh-cn/index.html 阅读全文
posted @ 2015-11-03 11:09 Bodi 阅读(129) 评论(0) 推荐(0) 编辑