com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: No operations allowed after connection closed.
com.mysql.jdbc.exceptions.jdbc4.MySQLNonTransientConnectionException: No operations allowed after connection closed.
关闭连接后不允许任何操作。
Connection 静态是共享的
一个操作函数里尽量处理一个sql语句
--------------------------------------------------------------------------------------------------------------------------------------------
作者:Honey_Badger —— 觉得这文章好,点一下左下角
出处:http://tk55.cnblogs.com/
posted on 2018-05-05 09:27 Honey_Badger 阅读(394) 评论(0) 编辑 收藏 举报