关闭连接
()
| 165 | * 关闭连接 |
| 166 | */ |
| 167 | public void closeConnection() { |
| 168 | try { |
| 169 | connection.close(); |
| 170 | } catch (Exception e) { |
| 171 | if (logger.isErrorEnabled()) { |
| 172 | logger.error("关闭连接",e); |
| 173 | } |
| 174 | // ignore |
| 175 | } |
| 176 | } |
| 177 | /** |
| 178 | * 设置自动提交 |
| 179 | */ |
nothing calls this directly
no outgoing calls
no test coverage detected