Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 625D8200B67 for ; Tue, 16 Aug 2016 18:38:53 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 60BFA160AA8; Tue, 16 Aug 2016 16:38:53 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id A6A79160A74 for ; Tue, 16 Aug 2016 18:38:52 +0200 (CEST) Received: (qmail 75412 invoked by uid 500); 16 Aug 2016 16:38:51 -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 75396 invoked by uid 99); 16 Aug 2016 16:38:51 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 16 Aug 2016 16:38:51 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id DB8ABC34AB for ; Tue, 16 Aug 2016 16:38:50 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.28 X-Spam-Level: * X-Spam-Status: No, score=1.28 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=masslight-net.20150623.gappssmtp.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id arVk40Ubox5S for ; Tue, 16 Aug 2016 16:38:48 +0000 (UTC) Received: from mail-wm0-f53.google.com (mail-wm0-f53.google.com [74.125.82.53]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id B2A995F24F for ; Tue, 16 Aug 2016 16:38:42 +0000 (UTC) Received: by mail-wm0-f53.google.com with SMTP id o80so180070659wme.1 for ; Tue, 16 Aug 2016 09:38:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=masslight-net.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=Skzrv3pUr3zqr7PUrbcnNpRAKeBSDG6agGUa4Y6NTN8=; b=U/mS0QildU5TQKYLkSXG651Y6ZeGezkNCeLLHzSW+MeaSeF678VdHbXi8jbCaLVur2 cnLd2jELcziQPliVElrkXWvfv4ZSA19lgHkjylgOcDGS/uEHh4yfn/Of0Z8fsDnh2+6O L9eerSjiKVdJbnhMi3ivaqVk+pH4zH7V/6dEMFGHag79Ja93d822MwUwVXPfmrbJe8qD r1EmYc37PHubXBtdUmLPgM0kf+qyfU0LmM5W9Egpo+kJbUVkwX0iz6TZRPHizA4+c2YM fd4lwnUNZWHlT7yNhBUIWBODwC4hIotdYxFbd9EvCrmRpBRJgqrR6deAgl0I25X1Vs1D MXmQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=Skzrv3pUr3zqr7PUrbcnNpRAKeBSDG6agGUa4Y6NTN8=; b=ZdVaZaLpfRL4T3Z6BZWh5/3efBSZq+MCQBpEZMHPbpaf0l9gkyIyWFot9+E3AAbFVD om4psQuBc708O0tvxWHjiNolgProRMoH/OWsWHzfi9PLHVCj9yq8EmoMYjjjtK+XCUTG L3fgCZa3C41Um12pUh2j9MOCNA9U80+mCdnT/NGmsZNwvrqqbQsTG7RKpBZY1C2s+FBa ch+RAlfhPq+G1JdglxQ8HIqDsIeFIaF9AMTuaPI5vFbQgnLIBYFF5/+FJF0lJYSgtPDx p0Y93pZtsk4nONJ7Lqn16HxkVK5Lrr/dUS6zsdaKeLvahG63kISzvUXfM245t+8AS3ip lY6Q== X-Gm-Message-State: AEkoouuUDUV2xHLK0Q0z/GpMlhcZ0pkjPiATeqnj73FswTzIkFjoauGcqZ3CIe1s5HlgG2YjaMA2o3v1bKHbxQ== X-Received: by 10.194.235.166 with SMTP id un6mr44667268wjc.169.1471365520139; Tue, 16 Aug 2016 09:38:40 -0700 (PDT) MIME-Version: 1.0 Received: by 10.28.97.65 with HTTP; Tue, 16 Aug 2016 09:38:19 -0700 (PDT) In-Reply-To: <9D3823BE-B5B6-41F6-B55C-B022F8B07E60@karlmenn.is> References: <9D3823BE-B5B6-41F6-B55C-B022F8B07E60@karlmenn.is> From: Michael Gentry Date: Tue, 16 Aug 2016 12:38:19 -0400 Message-ID: Subject: Re: Show the SQL that will be generated by an EJBQLQuery? To: Cayenne Users Content-Type: multipart/alternative; boundary=089e01419e1c29c5d4053a32fb51 archived-at: Tue, 16 Aug 2016 16:38:53 -0000 --089e01419e1c29c5d4053a32fb51 Content-Type: text/plain; charset=UTF-8 Hi Hugi, I've not done anything with EJBQL yet, but have you looked at this class? https://github.com/apache/cayenne/blob/master/cayenne-server/src/main/java/org/apache/cayenne/access/translator/ejbql/EJBQLTranslationContext.java Perhaps it will give you a starting point. mrg On Tue, Aug 16, 2016 at 11:36 AM, Hugi Thordarson wrote: > Hi all, > since I want to try to do a little work on EJBQL in Cayenne; is there any > way for me to generate and look at the SQL that will be generated by an > EJBQLQuery without actually submitting it to the DB? > > Cheers, > - hugi > > // Hugi Thordarson > // http://www.loftfar.is/ > // s. 895-6688 > > > > --089e01419e1c29c5d4053a32fb51--