以下代码 conn.commit(); 后执行conn.close();抛出ConcurrentModificationException,为什么,
而且数据库用户老是被锁定,跟抛出这个Exception有关系吗
 
Connection conn = dbSys.getConnection(); //从poolman取得连接
conn.setAutoCommit(false);
Statement stmt = conn.createStatement();
String strSql="........................";
         PreparedStatement preStmt = conn.prepareStatement(strSql);
          ...............................
String strJobStatusSql = "......................";
stmt.addBatch(strJobStatusSql);
..............................................
stmt.executeBatch();
preStmt.executeBatch();
conn.commit();
if(!conn.isClosed()){
    conn.close();
conn = null;
}