日期:2014-05-16  浏览次数:20470 次

com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: You have an error in your SQL syntax.....
### Error updating database.  Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'form_bytes=_binary'<!DOCTYPE html PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//E' at line 14
### The error may involve com.sinobpo.flow.engine.persistence.mybatis.FormDao.updateForm-Inline
### The error occurred while setting parameters
### SQL: update t_proc_form set    form_key=?,    form_name=?,    form_desc=?,    business_name=?,    activate=?,    versions=?+1,    create_name=? ,    create_date=? ,    update_name=? ,    update_date=? ,    order_no=?         form_bytes=?       where id=? and versions=?
### Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'form_bytes=_binary'<!DOCTYPE html PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//E' at line 14
]
[QC] DEBUG [http-8080-2] org.springframework.transaction.support.AbstractPlatformTransactionManager.processRollback(843) | Initiating transaction rollback
[QC] DEBUG [http-8080-2] org.springframework.jdbc.datasource.DataSourceTransactionManager.doRollback(279) | Rolling back JDBC transaction on Connection [jdbc:mysql://172.16.24.16:3306/flow_engine?useUnicode=true&amp;charactorEncoding=utf8&amp;autoReconnect=true, UserName=developer@172.16.8.7, MySQL-AB JDBC Driver]
[QC] DEBUG [http-8080-2] org.springframework.jdbc.datasource.DataSourceTransactionManager.doCleanupAfterCompletion(322) | Releasing JDBC Connection [jdbc:mysql://172.16.24.16:3306/flow_engine?useUnicode=true&amp;charactorEncoding=utf8&amp;autoReconnect=true, UserName=developer@172.16.8.7, MySQL-AB JDBC Driver] after transaction
[QC] DEBUG [http-8080-2] org.springframework.jdbc.datasource.DataSourceUtils.doReleaseConnection(332) | Returning JDBC Connection to DataSource
[QC] DEBUG [http-8080-2] org.springframework.web.servlet.handler.AbstractHandlerExceptionResolver.resolveException(132) | Resolving exception from handler [public java.lang.String com.sinobpo.security.web.FormController.updateForm(javax.servlet.http.HttpServletRequest) throws java.lang.Exception]: org.springframework.jdbc.BadSqlGrammarException: 
### Error updating database.  Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'form_bytes=_binary'<!DOCTYPE html PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//E' at line 14
### The error may involve com.sinobpo.flow.engine.persistence.mybatis.FormDao.updateForm-Inline
### The error occurred while setting parameters
### SQL: update t_proc_form set    form_key=?,    form_name=?,    form_desc=?,    business_name=?,    activate=?,    versions=?+1,    create_name=? ,    create_date=? ,    update_name=? ,    update_date=? ,    order_no=?         form_bytes=?       where id=? and versions=?
### Cause: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'form_bytes=_binary'<!DOCTYPE html PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//E' at line 14
; bad SQL grammar []; nested exception is com.mysql.jdbc.exceptions.jdbc4.MySQLSyntax