Re: Problem with FK in snapshot

From: Andrus Adamchik (andru..bjectstyle.org)
Date: Sun Dec 05 2004 - 13:43:43 EST

  • Next message: Derek Rendall: "Setting a user stamp on objects"

    Looks like a problem with relationship mapping. Do you see any warnings
    in the modeler when you save you project?

    Andrus

    On Dec 4, 2004, at 5:22 AM, Joaquin Arias Buendia wrote:

    > Hi everybody.
    >
    > When I execute this code:
    >
    > Pregunta p = db.getPreguntaPersistente();
    > p.construir(preg, hayRespLib);
    > db.commitChanges();
    > Iterator it = listaResps.iterator();
    > String resp;
    >
    > while (it.hasNext())
    > {
    > RespuestaFija rf =
    > db.getRespuestaFijaPersistente();
    > rf.construir((String)it.next());
    > p.addToPosiblesRespuestas(rf);
    > db.commitChanges();
    > }
    >
    > I have this message:
    >
    > "Some parts of FK are missing in snapshot"
    >
    > Any idea?
    >
    > Thank you very much!!!



    This archive was generated by hypermail 2.0.0 : Sun Dec 05 2004 - 13:43:49 EST