Re: SqlModifyQuery peformQuery()

From: Andrus Adamchik (andru..bjectstyle.org)
Date: Fri May 07 2004 - 17:06:21 EDT

  • Next message: Eric Schneider: "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 : Fri May 07 2004 - 17:06:22 EDT