Could not execute JDBC batch update
2008-03-17 17:17
435 查看
Exception in thread "main" org.hibernate.exception.SQLGrammarException: Could not execute JDBC batch update
原因与解决:1.因为Hibernate Tools(或者Eclipse本身的Database Explorer)生成*.hbn.xml工具中包含有catalog="***"(*表示数据库名称)这样的属性,将该属性删除就可以了
2.估计是你的列名里面有关键字的原因吧,命名列的时候不要单独使用date,ID...这种关键字
相关文章推荐
- org.hibernate.exception.SQLGrammarException:Could not execute JDBC batch update问题的解决
- hibernate 级联删除报更新失败的问题(org.hibernate.exception.GenericJDBCException: Could not execute JDBC batch update)
- hibernate错误:IllegalArgumentException以及Could not execute JDBC batch update
- Could not execute JDBC batch update; bad SQL grammar [insert into
- org.hibernate.exception.ConstraintViolationException: Could not execute JDBC batch update解决
- org.hibernate.exception.SQLGrammarException:Could not execute JDBC batch update问题的解决
- Could not execute JDBC batch update
- Hibernate flushing: Could not execute JDBC batch update;
- org.hibernate.exception.ConstraintViolationException: Could not execute JDBC batch update
- org.hibernate.exception.ConstraintViolationException: Could not execute JDBC batch update
- org.hibernate.exception.SQLGrammarExceptionCould not execute JDBC batch update的问题
- org.hibernate.exception.SQLGrammarException:Could not execute JDBC batch update问题的解决
- Could not execute JDBC batch update : java.sql.BatchUpdateException: ORA-00926: 缺失 VALUES 关键字
- Could not execute JDBC batch update
- org.hibernate.exception.SQLGrammarException: Could not execute JDBC batch update
- HTTP Status 500 - Could not execute JDBC batch update;
- org.hibernate.exception.ConstraintViolationException: Could not execute JDBC batch update
- Could not execute JDBC batch update问题
- Hibernate 抛出的 Could not execute JDBC batch update
- Could not execute JDBC batch update