Return-Path: Delivered-To: apmail-cayenne-commits-archive@www.apache.org Received: (qmail 41357 invoked from network); 28 Mar 2010 14:07:48 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 28 Mar 2010 14:07:48 -0000 Received: (qmail 25883 invoked by uid 500); 28 Mar 2010 14:07:48 -0000 Delivered-To: apmail-cayenne-commits-archive@cayenne.apache.org Received: (qmail 25857 invoked by uid 500); 28 Mar 2010 14:07:48 -0000 Mailing-List: contact commits-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 commits@cayenne.apache.org Received: (qmail 25850 invoked by uid 99); 28 Mar 2010 14:07:48 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 28 Mar 2010 14:07:48 +0000 X-ASF-Spam-Status: No, hits=-1156.0 required=10.0 tests=ALL_TRUSTED,AWL X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 28 Mar 2010 14:07:47 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 4A35F234C4F2 for ; Sun, 28 Mar 2010 14:07:27 +0000 (UTC) Message-ID: <558299756.535101269785247303.JavaMail.jira@brutus.apache.org> Date: Sun, 28 Mar 2010 14:07:27 +0000 (UTC) From: "Andrus Adamchik (JIRA)" To: commits@cayenne.apache.org Subject: [jira] Updated: (CAY-1111) Expression.toEJBQL() support for single-column PK Persistent objects MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CAY-1111?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Andrus Adamchik updated CAY-1111: --------------------------------- Fix Version/s: (was: 3.1M1) 3.0RC3 Summary: Expression.toEJBQL() support for single-column PK Persistent objects (was: Expression.toEJBQL() should not output ObjectId) reducing the scope of this issue to just single-column PK scalars per Dave's patch. A more generic implementation will be tracked as CAY-1408. > Expression.toEJBQL() support for single-column PK Persistent objects > -------------------------------------------------------------------- > > Key: CAY-1111 > URL: https://issues.apache.org/jira/browse/CAY-1111 > Project: Cayenne > Issue Type: Bug > Components: Core Library > Affects Versions: 3.0 > Environment: N/A > Reporter: Dave Dombrosky > Assignee: Andrus Adamchik > Fix For: 3.0RC3 > > Attachments: encodeAsEJBQL.patch, toEJBQL.txt, toEJBQL_1.txt > > > The Expression.toEJBQL method in ASTScalar.java needs to be fixed so that the PK is used as the value instead of the ObjectId. > Currently, the method outputs things like "a.artist = ", which is not valid EJBQL syntax. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.