主题 : 批量删除问题 |
级别: 童生
![]() |
1# 发表于:2013-08-08 13:06:03 IP:222.112.*.*
|
||||
---|---|---|---|---|---|
级别: 童生
![]() |
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进行删除时出现异常,单个删除没有问题
|
||
---|---|---|---|
级别: 童生
![]() |
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页