AW: objectFromDataRow with refresh

From: Peter Schröder (Peter.Schroede..reenet-ag.de)
Date: Tue Dec 12 2006 - 03:33:31 EST

  • Next message: Tore Halset: "does commitChanges lock all other queries?"

    thx,

    thats what i hoped it would do ;-)

    -----Ursprüngliche Nachricht-----
    Von: Andrus Adamchik [mailto:andru..bjectstyle.org]
    Gesendet: Montag, 11. Dezember 2006 18:12
    An: cayenne-use..ncubator.apache.org
    Betreff: Re: objectFromDataRow with refresh

    Hi,

    It refreshes any previously cached version of the object with the
    data stored in the passed data row.

    Andrus

    On Dec 11, 2006, at 5:31 PM, Peter Schröder wrote:

    > hi,
    >
    > i am wondering what the refresh param of context.objectFromDataRow
    > does exactly?
    >
    > does it refresh the data of the object in the context, which i can
    > commit with context.commitChanges,
    > or does it fetch refreshed data for the object from the database?
    >
    > kind regards
    > peter
    >



    This archive was generated by hypermail 2.0.0 : Tue Dec 12 2006 - 03:34:22 EST