public void setEquipa(Collection<String> equipa, String cod_Competicao) {
        try {
            Statement stm = conn.createStatement();
            for (String p : equipa) {
                String sql = "Insert into EquipaCampeonato(cod_equipa,cod_competicao)Values('" + p + "','" + cod_Competicao + "')";
                stm.executeUpdate(sql);
            }
            stm.close();
        } catch (SQLException e) {
            JOptionPane.showMessageDialog(null, e.getMessage(), "ERROR", JOptionPane.ERROR_MESSAGE);
        }
    }