Return-Path: X-Original-To: apmail-cayenne-user-archive@www.apache.org Delivered-To: apmail-cayenne-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E9A49173A4 for ; Mon, 27 Jul 2015 10:56:13 +0000 (UTC) Received: (qmail 44805 invoked by uid 500); 27 Jul 2015 10:56:13 -0000 Delivered-To: apmail-cayenne-user-archive@cayenne.apache.org Received: (qmail 44776 invoked by uid 500); 27 Jul 2015 10:56:13 -0000 Mailing-List: contact user-help@cayenne.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@cayenne.apache.org Delivered-To: mailing list user@cayenne.apache.org Received: (qmail 44765 invoked by uid 99); 27 Jul 2015 10:56:13 -0000 Received: from Unknown (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Jul 2015 10:56:13 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 2F71DC0473 for ; Mon, 27 Jul 2015 10:56:13 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.971 X-Spam-Level: X-Spam-Status: No, score=0.971 tagged_above=-999 required=6.31 tests=[KAM_LAZY_DOMAIN_SECURITY=1, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, T_RP_MATCHES_RCVD=-0.01, URIBL_BLOCKED=0.001] autolearn=disabled Received: from mx1-us-west.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id crgWWMeahLJT for ; Mon, 27 Jul 2015 10:56:05 +0000 (UTC) Received: from elasmtp-banded.atl.sa.earthlink.net (elasmtp-banded.atl.sa.earthlink.net [209.86.89.70]) by mx1-us-west.apache.org (ASF Mail Server at mx1-us-west.apache.org) with ESMTP id AE6252C6DB for ; Mon, 27 Jul 2015 10:56:05 +0000 (UTC) Received: from [68.10.153.81] (helo=[192.168.1.3]) by elasmtp-banded.atl.sa.earthlink.net with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.67) (envelope-from ) id 1ZJg4I-00086U-Oy for user@cayenne.apache.org; Mon, 27 Jul 2015 06:55:38 -0400 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2102\)) Subject: Re: Version API From: Joe Baldwin In-Reply-To: <701DD749-E181-4103-9C45-316FA2D5F720@objectstyle.org> Date: Mon, 27 Jul 2015 06:55:38 -0400 Content-Transfer-Encoding: quoted-printable Message-Id: References: <6EFB733A-E660-495B-A778-9EEE59F1415C@earthlink.net> <701DD749-E181-4103-9C45-316FA2D5F720@objectstyle.org> To: user@cayenne.apache.org X-Mailer: Apple Mail (2.2102) X-ELNK-Trace: ddf0204093c7bf071aa676d7e74259b7b3291a7d08dfec791d4fd5f247791d12d176e0422c1ddb7f350badd9bab72f9c350badd9bab72f9c350badd9bab72f9c X-Originating-IP: 68.10.153.81 I am looking for a simple replacement for version 3.0 API=20 >> org.apache.cayenne.project.Project.CURRENT_PROJECT_VERSION since it appears to be missing in 4.0. I could find no reference to any of the classes you mention in your 4.0 = API. Do you have a url reference? > On Jul 27, 2015, at 5:06 AM, Andrus Adamchik = wrote: >=20 > Not sure in what context you are using that, but "cayenne-project" DI = module now has a service org.apache.cayenne.project.ProjectUpgrader that = gives you access to UpgradeHandler that gives you access to = UpgradeMetaData. UpgradeMetaData has the version supported by a given = runtime. >=20 > Andrus >=20 >> On Jul 26, 2015, at 8:41 PM, Joe Baldwin = wrote: >>=20 >> Migration 3.0 =3D> 4.0 >>=20 >> org.apache.cayenne.project.Project.CURRENT_PROJECT_VERSION >>=20 >> appears to be no longer supported in 4.0. >>=20 >> Is there a substitute (as easy to access)? >>=20 >>=20 >>=20 >=20