java,当查询的数据量比较大,查询时间过长,查询被中断问题解决。

异常信息:java

### 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
sql


解决方法:ui

<select id="getList" resultType="EquipmentCarcylinders" parameterType="EquipmentCarcylindersVO" timeout="10000">
       sql语句
</select>