案例:TInfCustomer cus = (TInfCustomer) this.baseDao.getOne(helper);cus.setXXXcus .setXXX不调用update也写入数据库原因:hibernate在每个session里都会做些处理,比如把查询过的对象缓存起来什么,这个时... Read More
posted @ 2014-11-04 16:02 七郎 Views(6496) Comments(0) Diggs(1) Edit