Ajax更新数据库时浏览器弹出error错误
我用Ajax调用这段代码运行到最后一行后浏览器跳出一个对话框里面写一个error,数据库也没更新,求高手指教代码:publicvoidupdatePopedom(intr...
我用Ajax调用这段代码运行到最后一行后浏览器跳出一个对话框里面写一个error,数据库也没更新,求高手指教
代码: public void updatePopedom(int roleId,int hrManageAble,
int regManageAble, int feeManageAble,
int resourceManageAble, int teachingManageAble,
int sysmanManageAble) {
Role role=(Role) this.hibernateTemplate.get(Role.class, roleId);
System.out.println(role.getName());
role.setHrManageAble(hrManageAble);
role.setRegManageAble(regManageAble);
role.setFeeManageAble(feeManageAble);
role.setResourceManageAble(resourceManageAble);
role.setTeachingManageAble(teachingManageAble);
role.setSysmanManageAble(sysmanManageAble);
this.hibernateTemplate.saveOrUpdate(role);
}
散热如此v 是什么意思啊 在线等谢谢 展开
代码: public void updatePopedom(int roleId,int hrManageAble,
int regManageAble, int feeManageAble,
int resourceManageAble, int teachingManageAble,
int sysmanManageAble) {
Role role=(Role) this.hibernateTemplate.get(Role.class, roleId);
System.out.println(role.getName());
role.setHrManageAble(hrManageAble);
role.setRegManageAble(regManageAble);
role.setFeeManageAble(feeManageAble);
role.setResourceManageAble(resourceManageAble);
role.setTeachingManageAble(teachingManageAble);
role.setSysmanManageAble(sysmanManageAble);
this.hibernateTemplate.saveOrUpdate(role);
}
散热如此v 是什么意思啊 在线等谢谢 展开
2个回答
2010-03-10
展开全部
散热如此v
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询