@Override
  public void remove(Client client) throws DAOException {

    Connection connection;
    try {
      connection = JDBCUtil.getConnection();
      PreparedStatement prepareStatement =
          connection.prepareStatement("DELETE FROM Client WHERE codecl=?");
      prepareStatement.setInt(1, client.getCodeClient());
      prepareStatement.executeUpdate();
    } catch (InstantiationException
        | IllegalAccessException
        | ClassNotFoundException
        | SQLException e) {
      throw new DAOException(e.getMessage(), e.getCause());
    }
  }