摘要: 用户登录通过动态方法处理多个提交请求 用户:密码:通过method属性处理多个提交请求 用户:密码: 阅读全文
posted @ 2012-05-12 22:17 java程序员-c 阅读(173) 评论(0) 推荐(0) 编辑
摘要: getHibernateTemplate用法前提条件:你的类必须继承HibernateDaoSupport一:回调函数:public List getList(){return (List ) getHibernateTemplate().execute(new HibernateCallback() {public List doInHibernate(final Session s)throws HibernateException, SQLException {StringBuffer sb = new StringBuffer();Query query = s.createSQLQu 阅读全文
posted @ 2012-05-12 16:34 java程序员-c 阅读(219) 评论(0) 推荐(0) 编辑