Re: SqlModifyQuery peformQuery()

From: Eric Schneider (eri..entralparksoftware.com)
Date: Mon May 10 2004 - 11:17:27 EDT

  • Next message: Budhiraja, Nikhil: "EOKeyComparisonQualifier"

    A,

    Which version has "performNonSelectingQuery()"? I'm not seeing it in
    cayenne-1.1M4. It's on DataContext, right?

    Thanks,
    e.

    ----- Original Message -----
    From: "Andrus Adamchik" <andru..bjectstyle.org>
    To: <cayenne-use..bjectstyle.org>
    Sent: Friday, May 07, 2004 5:06 PM
    Subject: Re: SqlModifyQuery peformQuery()

    > Hey dude,
    >
    > SQLModifyQuery was deprecated in favor of SQLTemplate. Instead of
    > "performQuery(...)" you can use shorter "performNonSelectingQuery" without
    > the OperationObserver argument.
    >
    > Andrus
    >
    > > Andrus,
    > >
    > > I noticed upgrading one of my models to 1.1 that
    > > performQuery(SqlModifyQuery query, DefaultOperationObserver observer) is
    > > deprecated. What is the appropriate alternative for this?
    > >
    > > Also, dataContext().invalidateObject(DataObject object) is deprecated?
    > > Use invalidateObjects(Collection list) instead?
    > >
    > > Thanks man.
    > > e.
    >
    >



    This archive was generated by hypermail 2.0.0 : Mon May 10 2004 - 11:17:21 EDT