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 91E5510160 for ; Mon, 14 Sep 2015 15:04:45 +0000 (UTC) Received: (qmail 87308 invoked by uid 500); 14 Sep 2015 15:04:45 -0000 Delivered-To: apmail-cayenne-user-archive@cayenne.apache.org Received: (qmail 87282 invoked by uid 500); 14 Sep 2015 15:04:45 -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 87262 invoked by uid 99); 14 Sep 2015 15:04:45 -0000 Received: from Unknown (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Sep 2015 15:04:45 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id B01CE18099F for ; Mon, 14 Sep 2015 15:04:44 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.1 X-Spam-Level: X-Spam-Status: No, score=-0.1 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-us-west.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id CLC5LEkw6fZs for ; Mon, 14 Sep 2015 15:04:34 +0000 (UTC) Received: from mail-qg0-f41.google.com (mail-qg0-f41.google.com [209.85.192.41]) by mx1-us-west.apache.org (ASF Mail Server at mx1-us-west.apache.org) with ESMTPS id 9FEC02055B for ; Mon, 14 Sep 2015 15:04:33 +0000 (UTC) Received: by qgx61 with SMTP id 61so117243475qgx.3 for ; Mon, 14 Sep 2015 08:04:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; bh=PWtGNr8gCBhb1TREFFD+ULXsDi+qCrCu6ZnOu7LspKE=; b=WyweKkbIXrcA6MkSwZkDvpyexvaN9EqJgd57hNv8CqhbKqPO6a5UdggfcGJK36NwSV 7Yr540Q81cwQ65U8j0DCafXANLcTPGhMbjmUTSi1PL1FG274RTd8A6HVu3F1IyWlSdS4 ISDe67uP5XYYSA/Fy9UigDr5LWfHFlH9pbNHH2f+yTGKJccd7AEHcFO4MJu07vTSG+2q swQ6itS0qbLIlk2fX7YGnBLdlYTxHWXQGV5C6tqefF80pwCJmS3PX2WZAbg8azlHwX7+ HUJSfCzqBH1P8LHhpqgrNV2NPXnq7bK4id9/u8vHsnBFrNA9Qlw07qzn0T8PJW4sQsfr Y3Ng== X-Received: by 10.140.194.148 with SMTP id p142mr23961697qha.84.1442243066543; Mon, 14 Sep 2015 08:04:26 -0700 (PDT) MIME-Version: 1.0 Received: by 10.140.41.202 with HTTP; Mon, 14 Sep 2015 08:04:07 -0700 (PDT) In-Reply-To: References: <6A1CB791-ADC8-4BED-8BDC-BE7C7D2CAEDE@karlmenn.is> <338C2B0A-8753-459A-B8E7-8F168516E819@objectstyle.org> From: Mike Kienenberger Date: Mon, 14 Sep 2015 11:04:07 -0400 Message-ID: Subject: Re: Is there a canonical method of invoking aggregate functions To: user@cayenne.apache.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable There's a lot of ex-EOF/ex-WO folks involved with this project (including m= e). Do we still have the model converter out there? When I started using Cayenne back in the 1.1 days, we had a converter tool that would create a cayenne project out of an EOF project. I'm not sure if it's still around or if it needs to be updated -- even back then there were some rough edges. On Sun, Sep 13, 2015 at 3:26 PM, Hugi Thordarson wrote: > Hi Andrus. > > Words can't describe how happy I am with your helpfulness and the general= niceness of the Cayenne community. I fully realize you=E2=80=99re putting = in free work for me to benefit from. > > I've started working on a proposal for the WebObjects-world to migrate Pr= oject Wonder to Cayenne, or at least put EOF and Cayenne functionality in s= eparate frameworks so people can easily choose between frameworks and migra= te old code. I think there=E2=80=99s a great opportunity there to help out = developers that are anxious to move forward with projects that are stuck in= what=E2=80=99s essentially a dead ecosystem. I want to be a little more fa= miliar with Cayenne before suggesting such a thing, though, since I want to= be able to help out with the migration and the flood of users that will ho= pefully follow. > > Cheers, > - hugi > > // Hugi Thordarson > // http://www.loftfar.is/ > // s. 895-6688 > > > >> On 13. sep. 2015, at 19:02, Andrus Adamchik wro= te: >> >> Hi Hugi, >> >> This was a big enough hole in the API, that I felt it needed fixing. I j= ust added support for the "path+" EJBQL syntax to Cayenne per https://issue= s.apache.org/jira/browse/CAY-2027 . So you can build Cayenne from master an= d use it right away. >> >> Andrus >> >> >>> On Sep 12, 2015, at 9:03 AM, Hugi Thordarson wrote: >>> >>> Hi all. >>> >>> Since converting Expressions that use outer joins to EJBQL doesn=E2=80= =99t work in Cayenne, I find myself now using somewhat kludgy methods to in= voke aggregate methods (for example to retrieve the count of records that a= n expression will yield). >>> >>> Does anyone have a good solution or is there a standard way to do this? >>> >>> Cheers, >>> - hugi >>> >>> // Hugi Thordarson >>> // http://www.loftfar.is/ >>> // s. 895-6688 >> >