Return-Path: Delivered-To: apmail-openjpa-dev-archive@www.apache.org Received: (qmail 79768 invoked from network); 8 May 2008 19:06:19 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 8 May 2008 19:06:19 -0000 Received: (qmail 58769 invoked by uid 500); 8 May 2008 19:06:20 -0000 Delivered-To: apmail-openjpa-dev-archive@openjpa.apache.org Received: (qmail 58748 invoked by uid 500); 8 May 2008 19:06:20 -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 58736 invoked by uid 99); 8 May 2008 19:06:20 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 May 2008 12:06:20 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED 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; Thu, 08 May 2008 19:05:34 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id CA6B8234C107 for ; Thu, 8 May 2008 12:05:54 -0700 (PDT) Message-ID: <1270786121.1210273554814.JavaMail.jira@brutus> Date: Thu, 8 May 2008 12:05:54 -0700 (PDT) From: "Catalina Wei (JIRA)" To: dev@openjpa.apache.org Subject: [jira] Created: (OPENJPA-595) An error occurred while parsing the query filter "SELECT t FROM PessimisticA t WHERE t.id = ?1". Error message: No field named "id" in class "t" MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org An error occurred while parsing the query filter "SELECT t FROM PessimisticA t WHERE t.id = ?1". Error message: No field named "id" in class "t" ------------------------------------------------------------------------------------------------------------------------------------------------ Key: OPENJPA-595 URL: https://issues.apache.org/jira/browse/OPENJPA-595 Project: OpenJPA Issue Type: Bug Components: query Affects Versions: 1.2.0 Reporter: Catalina Wei Assignee: Catalina Wei A common path() action in JPQL.jjt being used for Enum literal causes a simple aliase resolution to fail in org.apache.openjpa.persistence.ArgumentException: An error occurred while parsing the query filter "SELECT t FROM PessimisticA t WHERE t.id = ?1". Error message: No field named "id" in class "t". This could happen in an environment where there is a "t" class visible in the classpath. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.