Re: Testing for Valid Objects

From: Jürgen Saar (jsaa..eb.de)
Date: Fri Aug 06 2004 - 16:03:34 EDT

  • Next message: Mike Kienenberger: "Re: Testing for Valid Objects"

    I use the actual version of cayenne
    in difference to 1.0 where silently an empty DataObject was returned
    reading the empty relation-object now a CayenneException is thrown.

    I had to fix it, while porting to cayenne 1.1

    Mike Kienenberger <mkienen..laska.net> schrieb am 06.08.04 20:47:29:
    >
    > Hollow just means it hasn't been resolved.
    > You say that when you resolveFault on it, it throws an exception?
    > Can you post a full stack track for one of those exceptions?
    >
    > I don't know if my knowledge level is high enough to be of help, but the
    > more information you make available, the better your chances that someone
    > will be able to respond.
    >
    > I'm still running 1.1M5, so I'm not using the latest code, but I've never
    > needed to manually resolveFault() other than in the special-case situation
    > mentioned before. I can't actually think of any other place in my code
    > where I access (rather than just set) non-mandatory relationships, however.

    ____________________________________________________
    Aufnehmen, abschicken, nah sein - So einfach ist
    WEB.DE Video-Mail: http://freemail.web.de/?mc=021200



    This archive was generated by hypermail 2.0.0 : Fri Aug 06 2004 - 16:03:47 EDT