主题 : 批量删除问题
级别: 童生
UID: 50420
积分:42 加为好友
威望: 0 精华: 0
主题:9 回复:20
注册时间:2013-07-29
在线时长:0
1#   发表于:2013-08-08 13:06:03  IP:222.112.*.*
删除内容后在回收站批量删除出现异常
级别: 状元
UID: 33380
积分:50625 加为好友
威望: 21 精华: 3
主题:88 回复:30687
注册时间:2012-05-07
在线时长:0
2#   发表于:2013-08-08 13:40:02  IP:182.11.*.*
删除内容后在回收站批量删除出现异常
 ?是什么异常?
功成由勤,业精于勤。
级别: 童生
UID: 50420
积分:42 加为好友
威望: 0 精华: 0
主题:9 回复:20
注册时间:2013-07-29
在线时长:0
3#   发表于:2013-08-08 15:21:06  IP:222.112.*.*
org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.hibernate.exception.ConstraintViolationException: Could not execute JDBC batch update  org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:656) org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:560) javax.servlet.http.HttpServlet.service(HttpServlet.java:647) javax.servlet.http.HttpServlet.service(HttpServlet.java:728) org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:198) org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76) org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88) org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76) com.jeecms.common.web.ProcessTimeFilter.doFilter(ProcessTimeFilter.java:38) 选中全部ID进行删除时出现异常,单个删除没有问题
级别: 状元
UID: 33380
积分:50625 加为好友
威望: 21 精华: 3
主题:88 回复:30687
注册时间:2012-05-07
在线时长:0
4#   发表于:2013-08-08 15:23:46  IP:182.11.*.*
你那什么版本?我这刚测试都没问题
功成由勤,业精于勤。
级别: 童生
UID: 50420
积分:42 加为好友
威望: 0 精华: 0
主题:9 回复:20
注册时间:2013-07-29
在线时长:0
5#   发表于:2013-08-08 15:26:37  IP:222.112.*.*
回复第4楼 JEECMS v2012sp1 数据被引用,不能删除。 Could not execute JDBC batch update; SQL [delete from jc_content where content_id=?]; constraint [null]; nested exception is org.hibernate.exception.ConstraintViolationException: Could not execute JDBC batch update 点击备份时也出现异常: HTTP Status 500 - Request processing failed; nested exception is org.springframework.jdbc.BadSqlGrammarException: StatementCallback; bad SQL grammar [ show tables ]; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Unknown table 'table_names' in information_schema
1 共1页