背景:项目在生产环境做压力测试,然后其中的task任务一直在异常状态。
截图一:
### Error querying database. Cause: java.sql.SQLException: Error
### The error may exist in URL [jar:file:/app/xxx-1.0-SNAPSHOT-all.jar!/config/mapper/TableMapper.xml]
### The error may involve defaultParameterMap
### The error occurred while setting parameters
### SQL: select * from table where col1 = ? and col2 in ( ? , ? , ? , ? )
### Cause: java.sql.SQLException: Error
; uncategorized SQLException; SQL state [null]; error code [0]; Error; nested exception is java.sql.SQLException: Error
截图二:
Error attempting to get column 'col3' from result set. Cause: java.sql.SQLException: Error
; uncategorized SQLException; SQL state [null]; error code [0]