@Override
	public Boolean atualizar(OperadorAdministradorBean bean) {
		PreparedStatement ps = null;
		try{		
			 conn.setAutoCommit(false);
			 if(bean.getIdCargo() == 0){
				bean.setIdCargo(null); 
			 }
			 ps = conn.prepareStatement("UPDATE Dig_Cliente set nome = ?, endereco = ?, cidade = ?, estado = ?, telefone = ?, cpf = ?, email = ?,"+
						" id_Cargo = "+bean.getIdCargo()+", inicio_Atividades = ?, desligamento = ?, id_Perfil_Sis = ?"+
						" WHERE id_Cliente = ?");
			
			ps.setString(1, bean.getNome());
			ps.setString(2, bean.getEndereco());
			ps.setString(3, bean.getCidade());
			ps.setString(4, bean.getEstado());
			ps.setString(5, bean.getTelefone());
			ps.setString(6, bean.getCpf());
			ps.setString(7, bean.getEmail());
			//ps.setLong(8, (bean.getIdCargo() == 0) ? null : bean.getIdCargo());		
			ps.setString(8, bean.getInicioAtividades());
			ps.setString(9, bean.getTerminoAtividades());
			ps.setLong(10, bean.getIdPerfilSis());
			ps.setLong(11, bean.getIdCliente());
			
			ps.executeUpdate();
			
			 ps = conn.prepareStatement("UPDATE Dig_Usuario_Cliente_Sis set id_Perfil_Sis = ?, id_Cliente = ?, usuario = ?, senha = ?"+
						" WHERE id_Usuario_Cliente_Sis = ?");
			 
			 ps.setLong(1, bean.getIdPerfilSis());
			 ps.setLong(2, bean.getIdCliente());
			 ps.setString(3, bean.getUsuarioStr());
			 ps.setString(4, bean.getSenhaStr());
			 ps.setLong(5, bean.getIdUsuarioClienteSis());
			 
			 ps.executeUpdate();
			
			conn.commit();
			
		}catch(SQLException sql){
			sql.printStackTrace();
			return false;
		}catch(Exception e){
			e.printStackTrace();
			return false;
		}finally{
			try {
				ps.close();
			} catch (SQLException e) {
				e.printStackTrace();
			}
			this.fecharConexao();
		}		
		return true;
	}