Re: 3.0 -> 3.1 experience

From: Andrus Adamchik (andru..bjectstyle.org)
Date: Sun Jan 10 2010 - 05:13:55 EST

  • Next message: Andrus Adamchik: "Re: Known issues"

    Yeah, too many new changes coming in 3.1, so removing older deprecated
    stuff was need to clear up the field.

    Thanks Tore for summarizing your experience. Something we can probably
    place in UPGRADE.txt.

    Andrus

    On Jan 9, 2010, at 3:20 AM, Michael Gentry wrote:

    > I hadn't looked at 3.1 before, but sure enough, the Ordering
    > true/false and Ordering.DESC/ASC are gone. I had deprecated them for
    > 3.0, but didn't know they'd be gone so quickly. :-)
    >
    > mrg
    >
    >
    > On Wed, Jan 6, 2010 at 8:21 AM, Tore Halset <halse..vv.ntnu.no>
    > wrote:
    >> Hello.
    >>
    >> I wanted to test my project with some stuff in svn trunk aka
    >> cayenne 3.1. As I have not been a good guy and fixed all the
    >> deprecated warnings in my project, I had some work to do in my code
    >> to get it to work with 3.1
    >>
    >> Here are a list of the things I had to change. The first item gave
    >> me a lot of work, the others was not a big deal. After the upgrade
    >> from 3.0 to 3.1, I got around 200 compile errors to fix in one
    >> project..
    >>
    >> * Ordering.DESC/ASC and even false/true -> SortOrder.DESCENDING/
    >> ASCENDING
    >> * context.refetchObject()
    >> * context.createAndRegisterNewObject -> context.newObject
    >> * dataObject.getDataContext() -> getObjectContext()
    >>
    >> Btw, great work on the RC!
    >>
    >> Regards,
    >> - Tore.
    >



    This archive was generated by hypermail 2.0.0 : Sun Jan 10 2010 - 05:14:32 EST