public boolean Apagar(int id ){
       try{
          
           PreparedStatement comando = conexao
                   .getConexao().prepareStatement("UPDATE clientes SET "
                   + "ativo = 0 WHERE id = ?");
           comando.setInt(1, id);
           comando.execute();
           comando.getConnection().commit();
           
           
           return true;
           
       }catch(SQLException ex){
           ex.printStackTrace();
           return false;
       }
   
   }