/** {@inheritDoc} */ @Override public void tearDownConnection() { Connection c = ConnectionContext.get(); if (c != null) { ConnectionContext.remove(); try { c.setAutoCommit(true); c.close(); } catch (SQLException e) { throw new RuntimeException(e); } } }