Return-Path: X-Original-To: apmail-openjpa-dev-archive@www.apache.org Delivered-To: apmail-openjpa-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B1F5B6CAE for ; Tue, 12 Jul 2011 22:31:25 +0000 (UTC) Received: (qmail 60763 invoked by uid 500); 12 Jul 2011 22:31:25 -0000 Delivered-To: apmail-openjpa-dev-archive@openjpa.apache.org Received: (qmail 60400 invoked by uid 500); 12 Jul 2011 22:31:24 -0000 Mailing-List: contact dev-help@openjpa.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@openjpa.apache.org Delivered-To: mailing list dev@openjpa.apache.org Received: (qmail 60365 invoked by uid 99); 12 Jul 2011 22:31:24 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Jul 2011 22:31:24 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 Jul 2011 22:31:21 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 4D0214C246 for ; Tue, 12 Jul 2011 22:31:00 +0000 (UTC) Date: Tue, 12 Jul 2011 22:31:00 +0000 (UTC) From: "Michael Dick (JIRA)" To: dev@openjpa.apache.org Message-ID: <2126505687.7991.1310509860295.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <526605593.53290.1302640445673.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (OPENJPA-1979) Regression for non-standard joins with constant column values MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/OPENJPA-1979?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael Dick updated OPENJPA-1979: ---------------------------------- Fix Version/s: (was: 2.1.0) > Regression for non-standard joins with constant column values > -------------------------------------------------------------- > > Key: OPENJPA-1979 > URL: https://issues.apache.org/jira/browse/OPENJPA-1979 > Project: OpenJPA > Issue Type: Bug > Components: jdbc, kernel > Affects Versions: 2.0.0-M1, 2.0.0 > Reporter: Pinaki Poddar > Attachments: OPENJPA-1979.patch.1.txt, Test-1979.zip > > > The non-standard join can use constant column values by enclosing them in single-quote character. This behavior is regressed. The likely cause of this regression is new delimiting support for schema elements introduced in JPA 2.0. The constant column value used to be detected during schema definition based on the assumption of the name being enclosed in single-quote. Due to introduction of delimiting capability, the constant value is now enclosed in double-quote followed by a single-quote. > The visible effect is failure to define schema for non-standard join with constant values. -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira