()
| 211 | } |
| 212 | |
| 213 | public synchronized void closeConnection() { |
| 214 | if (!this.connected) |
| 215 | return; |
| 216 | try { |
| 217 | this.connection.close(); |
| 218 | } catch (SQLException e) { |
| 219 | getLogger().error("Could not close SQL Connection!", e); |
| 220 | } finally { |
| 221 | this.connection = null; |
| 222 | } |
| 223 | } |
| 224 | |
| 225 | public Logger getLogger() { |
| 226 | return LOGGER; |
no test coverage detected