摘要: zgmzyr的专栏 :http://blog.csdn.net/zgmzyr/article/month/2010/05 阅读全文
posted @ 2011-12-28 16:23 不过是技术 阅读(112) 评论(0) 推荐(0) 编辑
摘要: 以下是DAO里面的方法 public boolean updateUser(Users users) { try{ this.getHibernateTemplate().update(users); }catch(Exception e){ e.printStackTrace(); } return true; }没有抛出异常。加入内存刷新.getHibernateTemplate().update 或加入手动提交this.getSession().beginTransaction().commit();均可实现写入数据库hibernate是交给spring管理的,applic... 阅读全文
posted @ 2011-12-28 11:35 不过是技术 阅读(5841) 评论(0) 推荐(0) 编辑
摘要: building...... 阅读全文
posted @ 2011-12-28 08:48 不过是技术 阅读(234) 评论(0) 推荐(0) 编辑