1、错误描述
Caused by: java.sql.SQLException: Operation not allowed after ResultSet closed at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1074) at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:988) at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:974) at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:919) at com.mysql.jdbc.ResultSetImpl.checkClosed(ResultSetImpl.java:803) at com.mysql.jdbc.ResultSetImpl.next(ResultSetImpl.java:6985) at base.dao.impl.BaseDaoImpl.doMapResult(BaseDaoImpl.java:402) at base.dao.impl.BaseDaoImpl.access$0(BaseDaoImpl.java:385) at base.dao.impl.BaseDaoImpl$2.execute(BaseDaoImpl.java:186) at base.dao.impl.BaseDaoImpl$2.execute(BaseDaoImpl.java:1) at org.hibernate.jdbc.WorkExecutor.executeReturningWork(WorkExecutor.java:72) at org.hibernate.internal.SessionImpl$3.accept(SessionImpl.java:2052) at org.hibernate.engine.jdbc.internal.JdbcCoordinatorImpl.coordinateWork(JdbcCoordinatorImpl.java:313) ... 84 more
2、错误原因
由错误提示可知,由于结果集关闭,操作不能进行
3、解决办法