你先看一下,你这段代码执行的时候有没有什么异常,还有就是你可能没有commit。
public void delcoursebyid(long id) {
// todo auto-generated method stub
this.gethibernatetemplate().delete((course)this.gethibernatetemplate ().get(course.class, id));
}
用户登录
还没有账号?立即注册
用户注册
投稿取消
文章分类: |
|
还能输入300字
上传中....