异常信息:
### Cause: java.sql.SQLException: Query execution was interrupted
; uncategorized SQLException for SQL []; SQL state [70100]; error code [1317]; Query execution was interrupted; nested exception is java.sql.SQLException: Query execution was interrupted
解决方法:
<select id="getList" resultType="EquipmentCarcylinders" parameterType="EquipmentCarcylindersVO" timeout="10000"> sql语句 </select>
本文介绍了一种常见的SQL执行过程中出现的Query execution was interrupted异常,并提供了具体的解决方法。该异常通常出现在长时间运行的查询被中断的情况下,通过设置合理的查询超时时间可以有效避免此类问题。

171万+

被折叠的 条评论
为什么被折叠?



