Return-Path: Delivered-To: apmail-cayenne-dev-archive@www.apache.org Received: (qmail 99527 invoked from network); 10 Jan 2010 10:14:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 10 Jan 2010 10:14:27 -0000 Received: (qmail 56895 invoked by uid 500); 10 Jan 2010 10:14:27 -0000 Delivered-To: apmail-cayenne-dev-archive@cayenne.apache.org Received: (qmail 56839 invoked by uid 500); 10 Jan 2010 10:14:27 -0000 Mailing-List: contact dev-help@cayenne.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cayenne.apache.org Delivered-To: mailing list dev@cayenne.apache.org Received: (qmail 56829 invoked by uid 99); 10 Jan 2010 10:14:26 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 10 Jan 2010 10:14:26 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [208.78.103.231] (HELO vorsha.objectstyle.org) (208.78.103.231) by apache.org (qpsmtpd/0.29) with SMTP; Sun, 10 Jan 2010 10:14:19 +0000 Received: (qmail 7348 invoked from network); 10 Jan 2010 10:13:56 -0000 Received: from unknown (HELO ?IPv6:::1?) (127.0.0.1) by localhost with SMTP; 10 Jan 2010 10:13:56 -0000 Message-Id: From: Andrus Adamchik To: dev@cayenne.apache.org In-Reply-To: <5adb61291001081720l6a402d04ib5e31d43e731c72d@mail.gmail.com> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v936) Subject: Re: 3.0 -> 3.1 experience Date: Sun, 10 Jan 2010 12:13:55 +0200 References: <1894F2B7-8AE8-494C-A244-C948FFB3FD19@pvv.ntnu.no> <5adb61291001081720l6a402d04ib5e31d43e731c72d@mail.gmail.com> X-Mailer: Apple Mail (2.936) X-Virus-Checked: Checked by ClamAV on apache.org 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 > 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. >